How to activate App Studio for a new ERPCR tenant

Here is a quick guide to activate Unit 4 App Studio (AS) for an ERP CR tenant.

Prerequisites

A client will be created with the following configuration on IDS:

Configuration detail Value
Client ID Enter the client ID.
Client Name Enter the client's name.
Flow Custom
Access token type JWT
Access token lifetime (in seconds) 3600
Allowed scopes openid, profile, u4bw, u4ek-app-trigger, u4ek-public-api
Enabled Yes
Allowed custom grant types user_impersonation
Required consent Yes
Owner tenant Empty

Activation

Follow these steps to configure AS in ERP CR:

1. Retrive the secret value

Before configuring the client in ERP CR, gather the secret value from the EK Key vault. A secret is placed in the EK Key vault with the name app-studio-u4bw-user-impersonation-secret. To retrive it you must know:

2. Configure the created client in ERP CR

To configure the client in ERP CR:

Field Description
Authorization type Select OAuth 2.0 Client Credentials Flow from the dropdown.
Name IdsImpersonationServiceAccount
ID app-studio-u4bw-user-impersonation
Description AppStudio user impersonation client
Secret Enter the retrieved secret from the previous step.

3. Verify that AS is accessible in Disco for the selected environment or tenant

To confirm accessibility:

❗Important: ERP CR users who want to use AS must always log in through IDS.