> 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="/files/9XzaQcTxZnrV48wHEiBo" 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;![](/files/5N3hadSwcole88VzSXC0)

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="/files/PHPiaZLgHnzmvuSZ88AR" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/QXptA0ggly4EI1OkXwOz" 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!
