> For the complete documentation index, see [llms.txt](https://docs.adyntel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adyntel.com/integrations/connecting-to-clay.md).

# Connecting to Clay

{% hint style="success" %}
You first need to create an account, you can sign up [here](https://app.adyntel.com/signup) to receive 50 credits to test it out.
{% endhint %}

The endpoints allow you to scrape different ad libraries for active or historical ads a company has set up through that platform.

It takes a social page or company domain as input depending on the endpoint.

{% hint style="warning" %}
Company domain has to be passed in the 'company.com' format, meaning all prefixes like 'https\://' or '[www](http://www).' need to be removed.
{% endhint %}

To connect Adyntel to Clay, you'll need to use the 'HTTP API' connector in Clay. This connector allows you to leverage the Adyntel workflows directly in Clay.

{% hint style="info" %}
POST <https://api.adyntel.com/{endpoint}>
{% endhint %}

<figure><img src="/files/StobWk7M2StMs3ZdbE8V" alt=""><figcaption><p>Click on 'Enrich Data' and select the 'HTTP API'</p></figcaption></figure>

Next, set up the API as seen in the image below. Use the email you used to register your Adyntel account + the api key as unique identifiers. Then map the 'company\_domain' parameter to the table column that contains domains.

<figure><img src="/files/EDTtfckeC2V4x5huYk1w" alt=""><figcaption></figcaption></figure>

Lastly, make sure to set the rate limits as below so the API doesn't time out -- all data is being scraped in real time which means it takes a bit longer for the API to return a response to Clay.

<figure><img src="/files/HjgK0aa1IO2l1gxyTcRn" alt=""><figcaption></figcaption></figure>

Hit 'save' or 'save and run' and you're good to go.
