# Integrating with Deel

[Prerequisites](#prerequisites)\
[Deel Setup](#deel-setup)\
&#x20;  [Create Organization Token](#step-1-create-organization-token)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

1. An active Deel admin account.
2. Admin priviliges in Drivetrain.

## Deel Setup <a href="#deel-setup" id="deel-setup"></a>

### Step 1: Create Organization Token <a href="#step-1-create-organization-token" id="step-1-create-organization-token"></a>

1. Log In into your Deel account and Click on **Hub,** on the next page Click on **Developer Center**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fm9EDf46MDqdIFUtFgRIz%2FDeel-1.avif?alt=media&#x26;token=e6570b6b-1613-4a33-b9b6-e04a4566c71b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FedgguDxzwRoRJMBXeQ61%2FDeel-2.avif?alt=media&#x26;token=b3923025-a759-4d47-97d1-eee1b3f359af" alt=""><figcaption></figcaption></figure>

2. On the Developer Center > API access & Sandbox and Click on **Generate New Token** under Organization Token

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FbtZ7PDyP6lctW1QjyozP%2FDeel-3.avif?alt=media&#x26;token=e71e088e-4dd6-4b76-94ad-a3120a7b9ca5" alt=""><figcaption></figcaption></figure>

3. Label the token as **Drivetrain Integration** and click on next

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FCuL5YnTKbstgLEm05DAR%2FDeel-4.avif?alt=media&#x26;token=5ebf8f5e-5c3a-4151-8fa0-8268906ae1bc" alt=""><figcaption></figcaption></figure>

4. Select the necessary scopes for for which you want to pull data into drivetrain, and choose the **read method** for every scope and click on **Generate**

{% hint style="info" %}
Scopes represent the objects user has created in their account, you can choose to not share certain scopes which doesn’t fit in the usecase. Please refer to [this](https://developer.deel.com/docs/scopes-1) to understand more about scopes
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2F2KWtOkvhHqT5mujYzRwD%2FDeel-5.avif?alt=media&#x26;token=fa3545e3-4243-4dc4-a733-6ca0a9f38296" alt=""><figcaption></figcaption></figure>

5. Copy the token in a secure place and click on close.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FHttFqiq9vGQ7QZU6ZrTn%2FDeel-6.avif?alt=media&#x26;token=242d5165-2975-4b1f-8cf3-d6b7e4b339a6" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
That’s it share the organization token to your customer success manager.
{% endhint %}
