# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.adyntel.com/integrations/connecting-to-clay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
