> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_a.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=cdd2ce1e7383bc5e019225f124b31eff" width="921" height="581" data-path="integrations/all/marketo/marketo_a.webp" />

<img src="https://mintcdn.com/nango/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_b.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=a70177e83707d192b44ab040d01b14e4" 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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_c.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=d5b3e89a8859b10a1331c1313e2ec1a4" 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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_d.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=e3a75765676517704cf680cda2806fb5" 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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_1.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=12fce2fa25be051b4d66d71dd0467beb" width="922" height="580" data-path="integrations/all/marketo/marketo_1.webp" />

<img src="https://mintcdn.com/nango/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_2.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=4e1d680d8e7691ab02d4b173487b4d0b" 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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_3.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=5f51776d551138d01873d12d8efffda1" 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/mML8QF2SPjr5fRd2/integrations/all/marketo/marketo_f.webp?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=ab82add63d58f6ef82ce5e1703b7ac5e" width="498" height="133" data-path="integrations/all/marketo/marketo_f.webp" />

#### Step 4: Connect Your Marketo Account

<img src="https://mintcdn.com/nango/mML8QF2SPjr5fRd2/integrations/all/marketo/nango_connect_ui.png?fit=max&auto=format&n=mML8QF2SPjr5fRd2&q=85&s=a98f574e62d2f2d548512d847afcf240" 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.
