You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the following placeholders with your credentials:
14
14
15
-
-`<client_id>`: The client ID generated for your Adobe developer project
16
-
-`<client_secret>`: The client secret generated for your Adobe developer project
15
+
-`{{clientId}}`: The client ID generated for your Adobe developer project
16
+
-`{{clientSecret}}`: The client secret generated for your Adobe developer project
17
17
18
18
You can get these credentials from the Adobe Developer Console project details page. If you don't have access to the developer console, contact your system administrator for assistance.
19
19
20
20
<InlineAlertvariant="info"slots="text" />
21
21
22
-
This token request provisions the required scopes for Adobe Commerce Optimizer data ingestion as listed in the `scope` parameter. For information on managing, refreshing, and revoking bearer tokens, see the [User Authentication Implementation Guide](https://developer.adobe.com/developer-console/docs/guides/authentication/UserAuthentication/) in the *Adobe Developer Console documentation*.
22
+
This token request provisions the required scopes for Adobe Commerce Optimizer data ingestion as listed in the `scope` parameter. For information on managing, refreshing, and revoking bearer tokens, see [User Authentication](https://developer.adobe.com/commerce/webapi/rest/authentication/user/) in the *Adobe Commerce REST Guide*.
From Cloud Manager, you can find your instance ID in the instance details for your Commerce Optimizer project.
1
+
From Cloud Manager, you can find the endpoint URLs and tenant ID (instance ID) in the instance details for your Commerce Optimizer project.
2
2
3
3
1. Log in to your [Adobe Experience Cloud](https://experience.adobe.com/) account.
4
4
5
5
1. Under **Quick access**, click **Commerce** to open the Commerce Cloud Manager.
6
6
7
7
The Commerce Cloud Manager displays a list of instances that are available in your Adobe IMS organization.
8
8
9
-
1. To get the instance ID, click the information icon next to the Adobe Commerce Optimizer instance name.
9
+
1. To get the base URLs and instance ID, click the information icon next to the Adobe Commerce Optimizer instance name.
10
10
11
-

12
-
13
-
The instance details page opens, displaying the instance ID and other instance information. The instance ID is displayed in the `Instance ID` field.
14
-
15
-
You can also find the instance ID from the access URL for the Adobe Commerce Optimizer application interface, the value is in the path, for example `/in:XDevkG9W6UbwgQmPn995r3/`.
11
+

16
12
17
13
<InlineAlertvariant="info"slots="text" />
18
14
19
-
If you don't have access to the Commerce Cloud Manager, contact your system administrator.
15
+
If you don't have access to Cloud Manager, you can also find the region and tenant ID from the access URL for the Adobe Commerce Optimizer application interface.
Copy file name to clipboardExpand all lines: src/_includes/authentication/initial-auth-for-api-access.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@ To get API authentication credentials and tokens, create an Adobe developer proj
2
2
3
3
<InlineAlertvariant="info"slots="text" />
4
4
5
-
To create Projects for enterprise organizations, you must have a system administrator or developer role with access to the **Adobe Commerce as a Cloud Service – Backend - Commerce Cloud Manager** product. For information on managing developers from the Admin console, see [Managing developers](https://helpx.adobe.com/enterprise/using/manage-developers.html) in the *Adobe Enterprise & Teams Administration Guide*.
5
+
Creating projects for enterprise organizations requires a system administrator or developer role with access to the **Adobe Commerce as a Cloud Service – Backend - Commerce Cloud Manager** product. For information on managing developers from the Admin console, see [Managing developers](https://experienceleague.adobe.com/en/docs/commerce/optimizer/user-management) in the *Adobe Commerce Optimizer Guide*.
6
6
7
7
1. Log in to the [Adobe Developer Console](https://developer.adobe.com/console).
8
8
9
+
You can also access the Developer Console from the **Get Credentials** section of the [Data Ingestion API Reference](https://developer.adobe.com/commerce/services/reference/rest/). If you use this method, you are automatically directed to the correct organization. You can complete the process to create credentials and generate an access token from there.
10
+
9
11
1. Select the Experience Cloud Organization for the integration.
10
12
11
13
1. Create an API project.
@@ -22,9 +24,7 @@ To create Projects for enterprise organizations, you must have a system administ
22
24
23
25
1. Copy the Client ID and the Client Secret values to a secure location.
24
26
25
-
- Use the Client ID and Client Secret to refresh expired bearer tokens [using curl].
26
-
27
-
- Include the Client ID in the `x-api-key` header to authenticate API requests.
27
+
You use these values to refresh expired bearer tokens.
<GetCredential.Card.AccessTokenhelpText=""buttonLabel="Generate and copy token"heading={(<>Access token<br/><br/><spanstyle="font-weight:normal"><small>Paste the access token into the <strong>Authorization</strong> header in the <strong>Try it</strong> panel below. Then, add the <ahref="https://developer.adobe.com/commerce/services/optimizer/data-ingestion/using-the-api/#base-url">instance ID</a> to the <strong>instance ID</strong> field. You only need to do this once; future requests reuse the values automatically.</small></span></>)}/>
84
+
<GetCredential.Card.AccessTokenhelpText=""buttonLabel="Generate and copy token"heading={(<>Access token<br/><br/><spanstyle="font-weight:normal"><small>Paste the access token into the <strong>Authorization</strong> header in the <strong>Try it</strong> panel below. Then, add the <ahref="https://developer.adobe.com/commerce/services/optimizer/data-ingestion/using-the-api/#base-url">instance ID</a> to the <strong>tenantID</strong> field. You only need to do this once; future requests reuse the values automatically.</small></span></>)}/>
85
85
86
86
<GetCredential.Card.CredentialDetailsheading={(<>Credential details<br/><br/><spanstyle="font-weight:normal"><small>The following Client ID and Organization ID are used to generate the access token:</small></span></>)}orderBy="ClientId,ImsOrgID">
87
87
<GetCredential.Card.CredentialDetails.ClientIdheading="Client ID (x-api-key)"/>
<GetCredential.Return.ManageDeveloperConsolelabel="Manage all your projects and credentials on Adobe Developer Console"direction='/console/projects'/>
115
115
116
-
<GetCredential.Return.AccessTokenhelpText=""buttonLabel="Generate and copy token"heading={(<>Access token<br/><br/><spanstyle="font-weight:normal"><small>Paste the access token into the <strong>Authorization</strong> header in the <strong>Try it</strong> panel below. Then, add the <ahref="https://developer.adobe.com/commerce/services/optimizer/data-ingestion/using-the-api/#base-url">instance ID</a> to the <strong>instance ID</strong> field. You only need to do this once; future requests reuse the values automatically.</small></span></>)}/>
116
+
<GetCredential.Return.AccessTokenhelpText=""buttonLabel="Generate and copy token"heading={(<>Access token<br/><br/><spanstyle="font-weight:normal"><small>Paste the access token into the <strong>Authorization</strong> header in the <strong>Try it</strong> panel below. Then, add the <ahref="https://developer.adobe.com/commerce/services/optimizer/data-ingestion/using-the-api/#base-url">instance ID</a> to the <strong>tenantID</strong> field. You only need to do this once; future requests reuse the values automatically.</small></span></>)}/>
Copy file name to clipboardExpand all lines: src/pages/optimizer/admin/using-the-api.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,9 @@ import GetTenantId from '/src/_includes/authentication/get-tenant-id.md'
44
44
45
45
Every API request must include a bearer token in the request header:
46
46
47
-
`Authorization: Bearer {access token}`
47
+
`Authorization: Bearer {{accessToken}}`
48
48
49
-
The bearer token is generated using the credentials from the Adobe developer project for the API integration. The token is valid for 24 hours. When it expires, use the Adobe developer project credentials to [generate a new one](#generate-a-new-access-token).
49
+
The bearer token is generated using the credentials from the Adobe developer project for the API integration. The token is valid for 24 hours. When it expires, use the Adobe developer project credentials to generate a new one.
50
50
51
51
<br></br>
52
52
@@ -72,7 +72,7 @@ Include the following headers in GraphQL requests.
72
72
| Header Name | Required |Description |
73
73
|---------------|----------|------------|
74
74
|`Content-Type`| Yes | Specifies the media type of the resource. Accepted value: `application/json`. |
75
-
|`Authorization: Bearer {access token}`| Yes | Bearer token generated from IMS credentials. See [Authentication](#authentication). |
0 commit comments