Create an API key
Only Sitecore Cloud Portal team members with the necessary roles can create API keys.
API keys allow a developer to authorize the API requests they make to Sitecore Personalize REST APIs.
To create an API key:
-
On the navigation menu, click Developer Center > API keys. The API Keys screen displays.
-
Click Create. The New API key screen displays.
-
Complete the following fields:
-
Name - Enter a name for the API key.
-
Features - Select the feature that the API key is for.
NoteFor security reasons, we recommend that you create an API key for the exact feature you need.
For example, if a developer only needs to work with templates, select the Developer templates feature instead of the Multiple resources feature, which, in this example, would provide access to unnecessary features.
-
-
Click Save.
The API key and the API secret display.
-
Copy the API key and the API secret because you won't be able to view them again in Sitecore Personalize. The developer will use the API key and the API secret to request an access token. After the developer retrieves the access token, they can start using the Sitecore Personalize REST APIs.