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

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_b.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=c418cb773be208fe25bfb4d35136cc77" 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-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_c.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=065fa1bb3b15f08c045713e45d4fc02f" 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-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_d.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=915ec9d5627546fe6bb7dc5602ed83ac" 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-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_1.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=f043d2918d41b9f883dbc2bd904c46de" width="922" height="580" data-path="integrations/all/marketo/marketo_1.webp" />

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_2.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=bb23f0895d7961723a360544ea4f2e19" 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-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_3.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=16621171f119c3240f80e9073701a56b" 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-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/marketo_f.webp?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=ea65ac429a22e6701dd802f1d27afffb" width="498" height="133" data-path="integrations/all/marketo/marketo_f.webp" />

#### Step 4: Connect Your Marketo Account

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/DVrtJn_EDMUDVpWS/integrations/all/marketo/nango_connect_ui.png?fit=max&auto=format&n=DVrtJn_EDMUDVpWS&q=85&s=32f68a0b33fe5c40e7fab76fbf8391e9" 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.
