> For the complete documentation index, see [llms.txt](https://safary-1.gitbook.io/safary-doc-2.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://safary-1.gitbook.io/safary-doc-2.0/connect-data/integrations/dynamic.md).

# Dynamic

{% embed url="<https://www.loom.com/share/b3829d34f5ed4ec49ea843c9e2b44754?sid=1dc9172d-80be-47e4-abef-6ce6a42ecc1d>" %}

{% hint style="warning" %}

### Before following this guide, make sure that you have integrated Safary script into your web app!

{% endhint %}

To get users' data from your dynamic.xyz usage, we  need Environment ID and API Tokens.\
You can find the Environment ID on top of the [Dynamic's Developer Dashboard](https://app.dynamic.xyz/dashboard/overview)

To find the API Key you'd need to click on the Developers dropdown and click on SDK and API Keys

<figure><img src="https://113809370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxTfTleoQARunjDGH9D2%2Fuploads%2FhGWrvGUeFupU1WoPGfah%2Fimage.png?alt=media&amp;token=b351f2ec-0f23-4cfa-9e9f-128a78c6ef53" alt=""><figcaption></figcaption></figure>

In the **API Tokens** section, you should click on Create Token, give it an appropriate name (i.e. Safary<->Dynamic), click on Add. Then Copy the key and click on the checkbox "I have copied and saved the API token in a secure place"

&#x20;![](https://113809370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxTfTleoQARunjDGH9D2%2Fuploads%2FIQqYqtMwLUReAUXqGeyS%2Fimage.png?alt=media\&token=ca5bfd47-457d-4949-b638-e908ede4392e)

Then go back to the Safary dashboard, and paste the two corresponding values (Environment ID and API Token) in the appropriate places.&#x20;

<figure><img src="https://113809370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxTfTleoQARunjDGH9D2%2Fuploads%2F2XQqDcin9CHBgAAogSGC%2Fimage.png?alt=media&amp;token=df02d7e5-3300-48e8-98fb-288b45274b87" alt=""><figcaption></figcaption></figure>

Then click on the Connect Dynamic button.&#x20;

<figure><img src="https://113809370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsxTfTleoQARunjDGH9D2%2Fuploads%2FrSNDjB5wRo3iGCF5sbVd%2Fimage.png?alt=media&amp;token=5d3bce3e-9557-4510-94ae-aae92fd6ba8b" alt=""><figcaption></figcaption></figure>

The Status will stay in the Processing state until the next pipeline run on our end (usually after couple of hours).&#x20;

After that, your Status will change and you will receive more user insight trough dynamic.xyz!
