# Adobe OAuth Server To Server Connection https://api-docs.lumar.io/docs/graphql/adobe-oauth-server-to-server-connection The following guide will show you how to add an Adobe OAuth Server To Server Connection to your Lumar account. ## Creating an Adobe OAuth Server To Server Connection To connect your Lumar account to an _Adobe Analytics_ project: 1. Add `OAuth Server-to-Server` credentials to your _Adobe Analytics_ project on the [Adobe Developer Console](https://developer.adobe.com/console/projects). 2. Once the _OAuth Server-to-Server_ credentials are generated, copy the following properties: - `CLIENT ID` - `CLIENT SECRET` 3. Use the values as inputs of a `createAdobeOauthServerToServerConnection` mutation: ```graphql mutation createAdobeOauthServerToServerConnection($input: CreateAdobeOauthServerToServerConnectionInput!){ createAdobeOauthServerToServerConnection(input: $input) { adobeOauthServerToServerConnection { clientId } } } ``` **Variables:** ```json { "input": { "clientId": "rbn0i2j38jvubk050g81nt8tnqfsp60z", "clientSecret": "p8e-Hae9H7CSwyo657lmeza_mdfR3lh_OIN3" } } ``` **Response:** ```json { "data": { "createAdobeOauthServerToServerConnection": { "adobeOauthServerToServerConnection": { "clientId": "rbn0i2j38jvubk050g81nt8tnqfsp60z", } } } } ``` ## Updating the credentials of an existing Adobe Adobe OAuth Server To Server Connection The credentials of an existing Adobe Adobe OAuth Server To Server can be updated via `updaateAdobeOauthServerToServer` mutation: ```graphql mutation updateAdobeOauthServerToServerConnection($input: UpdateAdobeOauthServerToServerConnectionInput!){ updateAdobeOauthServerToServerConnection(input: $input) { adobeOauthServerToServerConnection { clientId } } } ``` **Variables:** ```json { "input": { "adobeOauthServerToServerConnectionId": "TjAzNEFkb2JlT2F1dGhTZXJ2ZXJUb1NlcnZlckNvbm5lY3Rpb24xMw", "clientId": "rbn0i2j38jvubk050g81nt8tnqfsp60z", "clientSecret": "p8e-Hae9H7CSwyo657lmeza_mdfR3lh_OIN3" } } ``` **Response:** ```json { "data": { "updateAdobeOauthServerToServerConnection": { "adobeOauthServerToServerConnection": { "clientId": "rbn0i2j38jvubk050g81nt8tnqfsp60z" } } } } ``` ## Deleting an Adobe Adobe OAuth Server To Server Connection An existing Adobe JTW connection can be deleted via `deleteAdobeOauthServerToServer` mutation: ```graphql mutation deleteAdobeOauthServerToServerConnection($input: DeleteAdobeOauthServerToServerConnectionInput!){ deleteAdobeOauthServerToServerConnection(input: $input) { adobeOauthServerToServerConnection { clientId } } } ``` **Variables:** ```json { "input": { "adobeOauthServerToServerConnectionId": "TjAzNEFkb2JlT2F1dGhTZXJ2ZXJUb1NlcnZlckNvbm5lY3Rpb24xMw" } } ``` **Response:** ```json { "data": { "deleteAdobeOauthServerToServerConnection": { "adobeOauthServerToServerConnection": { "clientId": "rbn0i2j38jvubk050g81nt8tnqfsp60z" } } } } ```