> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Marketo - How do I link my account?

## Overview

To authenticate with Marketo, you need these key pieces of information:

1. **Client ID** - Your Marketo Access Client ID
2. **Client Secret** - Your Marketo Client Secret
3. **Domain** - Your Marketo domain (xxx.mktorest.com)
4. **Identity URL** - Your Marketo domain (xxx.mktorest.com/identity/oauth/token)

This guide will walk you through finding or creating those credentials within Marketo.

### Prerequisites:

* You must set up an account with Marketo.

#### Step 1: Finding Marketo Client ID

1. Create an API role (if not already created) and give it the `Read-Only Lead` permission with a descriptive name, then click `Create`.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_a.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=f5161e4d24e92db3a0be160e3b1accf6" width="921" height="581" data-path="integrations/all/marketo/marketo_a.webp" />

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_b.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=217a53b53d7a38af956cdd99f6449bf4" width="602" height="603" data-path="integrations/all/marketo/marketo_b.webp" />

2. Go back to the Users tab and click `Invite New User`. Give your user a descriptive name that indicates it is an API user, and an email address, then click `Next`.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_c.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=b739205474f0456e7f05ed9e8c42874c" width="597" height="499" data-path="integrations/all/marketo/marketo_c.webp" />

3. Proceed to check the `API Only` option and award your user the API role that you created and click `Next`.

4. To complete the user creation process, click `Send`.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_d.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=c21567070a6a29d0a49b0a543b426b6b" width="594" height="502" data-path="integrations/all/marketo/marketo_d.webp" />

5. Navigate to `LaunchPoint` > `New` and `New Service`. Give your service a descriptive name and select Custom from the Service dropdown menu. Give it a description, then select your new user from the API Only User dropdown menu and click `Create`.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_1.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=aae436517693658890d04d8b5bf09796" width="922" height="580" data-path="integrations/all/marketo/marketo_1.webp" />

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_2.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=d127280383a47ae130d6a25a78aa39f2" width="550" height="502" data-path="integrations/all/marketo/marketo_2.webp" />

6. Navigate to `Admin` > `Integration` > `LaunchPoint` and click `View Details` for your new service to access the `Client ID` and `Client Secret`.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_3.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=9524abf32e562f857a9ec85b1b0ad77b" width="607" height="374" data-path="integrations/all/marketo/marketo_3.webp" />

#### Step 2: Get Your Client Secret

* From the previous step, also securely store your `Client Secret`.

#### Step 3: Find Your Domain and Identity URL

1. Next, navigate to `Admin` > `Integration` > `Web Services` to get the endpoint and identity URL.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/marketo_f.webp?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=0f2dc44261d249b9654e85fc409bcc45" width="498" height="133" data-path="integrations/all/marketo/marketo_f.webp" />

#### Step 4: Connect Your Marketo Account

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/kipYoneMriaWnwwA/integrations/all/marketo/nango_connect_ui.png?fit=max&auto=format&n=kipYoneMriaWnwwA&q=85&s=ff459bfe0021fa6abdcf4b3749773a6d" width="446" height="755" data-path="integrations/all/marketo/nango_connect_ui.png" />

To authenticate using your API credentials, navigate to the Marketo authentication form. Enter your credentials as follows:

* Client ID: Your Marketo Access Key
* Client Secret: Your Marketo Access Key Secret
* Domain: Your Marketo domain
* Identity URL: Your Marketo domain

Click "Connect" to complete the authentication.
