Integrate Codebeamer with the PTC SaaS Platform
To use PTC SaaS Platform Analytics service, for PTC-hosted and customer-hosted deployment, integrate Codebeamer with the service principle created in PTC Admin Center.
Configure Codebeamer and PTC Admin Center connection as follows:
1. Log in into Codebeamer as a system administrator using a web browser.
2. Open the URL {{CODEBEAMER_BASE_URL}}/sysadmin/aiAtlasConfiguration.spr. For example, https://localhost:8080/sysadmin/aiAtlasConfiguration.spr.
3. To configure the service principal, enter the values for the following parameters:
Parameter
Values
Description
Client ID
Provided while creating the service principal.
You can find this value in the OAuth 2.0 Credentials tab of the service principal details page on the PTC Admin Center.
Client Secret
Provided while creating the service principal.
You can find this value in the OAuth 2.0 Credentials tab of the service principal details page on the PTC Admin Center.
Audience
https://codebeamer
For PTC-hosted Codebeamer AI, you can find this value in the OAuth 2.0 Credentials tab of the service principal details page on the PTC Admin Center.
https://ptc-analytics
For customer-hosted deployment, use https://ptc-analytics value if you want to use PTC analytics service.
* 
For customer-hosted deployment, do not set value as https://codebeamer. It routes the services call to PTC-hosted resources, which incurs additional cost.
Auth Token Endpoint
https://ptc-atlas-prod.us.auth0.com/oauth/token
Access token for the Codebeamer API.
API Endpoint
https://api.portal.ptc.com
Use the retrieved access token to call your API.
Tenant ID
14ae5d85-e563-44fe-bed1-8ff7975ac96c
Identifies the PTC Admin Center tenant (namespace) that owns the analytics data.
Pipeline ID
e98ef4f3-7b5d-4048-ad13-effd487f1b79
Identifies the specific ingest pipeline within the tenant.
4. Select the Allow detailed analytics checkbox if you want to send tracker item information in the feedback. If this option is not selected, only user feedback and feature usage patterns are sent to PTC for analysis. To know more about sending feedback, see Sharing Feedback.
PTC collects positive, negative, and detailed feedback from the users. If your administrator has selected the Allow detailed analytics checkbox, PTC will get detailed tracker item information when you send the feedback.
5. Click Save.
6. Click Test Configuration for a ping test to the Auth Token Endpoint and API Endpoint. The result message is OK for successful connections, or else Failed!.
* 
In a cluster environment, make sure that Config.json exists on all instances. When running Codebeamer in a container environment, mount this directory as a volume.
This configuration uses the existing Codebeamer Config.json and has the service principal SecretKey encrypted.
Was this helpful?