Skip to main content

Configuring authentication of the Pega Web Embed channel

Learn how to configure authentication for the Pega Web Embed channel that is required for launching Constellation service requests in the UI-Kit application.

Note: In this demonstration, basic authentication is used. In production environments, it is recommended to use SSO. For instructions on how to configure both types of authentication, see the Configuring authentication article on the Pega Documentation site.

The same authentication context is used to authenticate Pega Web Embed when the Constellation case is launched from the UI-Kit application using Pega Web Embed.

For more information on how to configure an Oauth 2.0 authentication profile for secure communication between the remote Constellation application and the local Theme UI-Kit application, see the Configuring an OAuth 2.0 authentication profile article on the Pega Documentation site.



Log in to the local Theme UI-Kit application as an administrator. Search for and open the cySetChannelConfigurations data transform. 

Click Save as and override the data transform in your implementation service class layer.

Because for the purpose of this demonstration you are not going to use SSO, set the AuthService parameter to the default value of pega and the corresponding UserIdentifier and Password parameters to the credentials of a user in both the remote and local applications.

Note: Remember that the data transform requires the entry of a password in a base64 format.

Click Save.

Next, create a user for the authentication profile of the remote application. In the header of Dev Studio, click Configure > Org & Security > Organization > Operators. On the Operators tab, click New. In the Operator ID short description field, enter Process Wrapper Agent. In the Operator ID field, enter ProcessWrapperAgent, and then click Create and open.

Now, you need to add the user to an access group of the local Theme UI-Kit implementation application and ensure that the Theme UI-Kit implementation application access role includes PegaRULES:PegaAPI.

On the Profile tab, in the Application Access section, in the Access Group field, enter CASysAdmin. Click the radio button next to the access group to make it the default selection. Click the Security tab, and then click Update password. In the Set operator password window, enter password123!. Click Submit, and then click Save.

Log in to the remote application, and then update the authentication profile with the new password. In the header of Dev Studio, search for and open the cyWrapperRemoteBasic authentication profile. Click Set password, enter password123!. Click Submit and then click Save.

You have reached the end of this video.

This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice