Adobe JWT Connection
The following guide will show you how to add an Adobe JWT Connection to your Lumar account.
Creating an Adobe JWT Connection​
To connect your Lumar account to an Adobe Analytics project:
- Add
Service Account (JWT)
credentials to your Adobe Analytics project on the Adobe Developer Console (https://developer.adobe.com/console/projects). - Once the Service Account (JWT) credentials are generated, copy the following properties:
- Client ID
- Client Secret
- Technical Account ID
- Organization ID
- Private Key (copy the full value of the private key, including header and footer, if present)
- Use the values as inputs of a
createAdobeJwtConnection
mutation:
- Mutation
- Variables
- Response
- cURL
mutation CreateAdobeJwtConnection($clientId: String!, $clientSecret: String!, $orgId: String!, $privateKey: String!, $technicalAccountId: String!) {
createAdobeJwtConnection(
input: {clientId: $clientId, clientSecret: $clientSecret, orgId: $orgId, privateKey: $privateKey, technicalAccountId: $technicalAccountId}
) {
adobeJwtConnection {
id
}
}
}
{
"input": {
"clientId": "********************************",
"clientSecret": "************************************",
"orgId": "************************@AdobeOrg",
"technicalAccountId": "************************@xyz.adobe.com",
"privateKey": "-----BEGIN PRIVATE KEY-----\nM****=\n-----END PRIVATE KEY-----"
}
}
{
"data": {
"createAdobeJwtConnection": {
"adobeJwtConnection": {
"id": "TjAxOEFkb2JlSnd0Q29ubmVjdGlvbi0x"
}
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"mutation CreateAdobeJwtConnection($clientId: String!, $clientSecret: String!, $orgId: String!, $privateKey: String!, $technicalAccountId: String!) { createAdobeJwtConnection( input: {clientId: $clientId, clientSecret: $clientSecret, orgId: $orgId, privateKey: $privateKey, technicalAccountId: $technicalAccountId} ) { adobeJwtConnection { id } } }","variables":{"input":{"clientId":"********************************","clientSecret":"************************************","orgId":"************************@AdobeOrg","technicalAccountId":"************************@xyz.adobe.com","privateKey":"-----BEGIN PRIVATE KEY-----\nM****=\n-----END PRIVATE KEY-----"}}}' https://api.lumar.io/graphql
Deleting an Adobe JWT Connection​
An existing Adobe JTW connection can be deleted via deleteAdobeJwtConnection
mutation:
- Mutation
- Variables
- Response
- cURL
mutation DeleteAdobeJwtConnection($adobeJwtConnectionId: ObjectID!) {
deleteAdobeJwtConnection(input: {adobeJwtConnectionId: $adobeJwtConnectionId}) {
adobeJwtConnection {
id
}
}
}
{
"adobeJwtConnectionId": "TjAxOEFkb2JlSnd0Q29ubmVjdGlvbi0x"
}
{
"data": {
"deleteAdobeJwtConnection": {
"adobeJwtConnection": {
"id": "TjAxOEFkb2JlSnd0Q29ubmVjdGlvbi0x"
}
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"mutation DeleteAdobeJwtConnection($adobeJwtConnectionId: ObjectID!) { deleteAdobeJwtConnection(input: {adobeJwtConnectionId: $adobeJwtConnectionId}) { adobeJwtConnection { id } } }","variables":{"adobeJwtConnectionId":"TjAxOEFkb2JlSnd0Q29ubmVjdGlvbi0x"}}' https://api.lumar.io/graphql