Skip to main content

OAuth 2.0 for Marketo

This section describes the steps to configure Alteryx Analytics Cloud (AAC) to integrate with your Marketo deployment using OAuth 2.0 to authenticate.

Create OAuth 2.0 Client App in Marketo

In Marketo, you must create the client app that AAC uses OAuth 2.0 to access and connect to your Marketo data.

  1. Log in into https://engage-ab.marketo.com/.

  2. Navigate to Admin > LaunchPoint. The Installed Services screen is displayed.

  3. From the Installed Services window, click New > New Service. The New Service window is displayed.

  4. In the New Service window, enter the following details:

    1. Display Name: Display name of the service.

    2. Service: Select Custom from the drop-down.

    3. Description: Enter a valid description.

    4. API Only User: Select the required user from the drop-down.

  5. To create a new service, click CREATE. A new custom service is added to the LaunchPoint Services.

  6. Click LaunchPoint > Custom Service > View Details. Copy the Client ID and Client Secret values to a text file.

  7. Navigate to Admin > WebServices. Copy the REST API End point value to a text file.

    Tip

    These values must be provided to the client that you create for AAC in the following steps.

Create OAuth 2.0 Client for Marketo

After the Marketo client app is created, you must create an OAuth 2.0 client in AAC, which is used to integrate with the client app that you created above.

Note

You must create one OAuth 2.0 client in AAC for each Marketo client app that you wish to use.

Steps:

  1. Login to AAC as a workspace administrator.

  2. In the left nav bar, select User menu > Admin console > OAuth2.0 Clients.

  3. In the OAuth2.0 Clients page, click Register OAuth2.0 Client.

  4. Specify the new client. Apply the following values:

    Setting

    Description

    Type

    Set to Marketo.

    Name

    Display name for the OAuth 2.0 client in AAC.

    Client ID

    The client identifier for the Marketo client app.

    Client Secret

    The client identifier for the Marketo client app.

    Authorization URL

    Leave it as blank.

    Token URL

    Set this value to the following:

    https://172-KJH-591.mktorest.com/identity/oauth/token

    You can copy the value from Admin > Web Services menu in the REST API section as Identity. Append /oauth/token to this URL.

    Access Token Expires In

    Set this value to 3600000 ms.

    Refresh Token Expires In

    Set this value to 0.

  5. To save your OAuth 2.0 client, click Save.

For more information, see Create OAuth2 Client.

Create Marketo Connection

After you have created the OAuth 2.0 client app and client, you can create a connection in AAC to access your Marketo data.

Note

You must create a separate connection for each OAuth 2.0 client that is available in AAC.

For more information, see Marketo Connections.