# Setting up the first zap

First, you have to get your API credentials from your The Brief account. If you skipped it or haven't yet gotten your API authentication details, follow Step 2 in the document below to get them ready.&#x20;

{% content-ref url="/pages/Bmzw6I4XvnfRar0S9vSe" %}
[Setting up Zapier with The Brief](/zapier-integration/setting-up-zapier-with-the-brief.md)
{% endcontent-ref %}

Once you have your API credentials, click the **Access Zapier** link on the same screen. You'll get to the screen below, where you have to accept the invitation to create your first zaps.&#x20;

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

In Zapier, when setting up your first Zap, you must define a trigger that will automatically activate the app to generate creatives. A trigger can be adding a new row to a Google sheet or an Excel file where you store the details of the creatives you want to generate through Zapier, adding a product to your website or Shopify store, adding a new client to your CRM, or getting data through a form.&#x20;

After you set up your first trigger, you'll have to select the action that gets triggered. Search for "Creatopy" and select **Creatopy (1.0.0)**, then choose the Event **Generate creative**.

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

Next, you have to connect your The Brief account, so you'll get a sign-in screen like the one below. This is where you'll **use the client ID and secret key** (Client secret) you got from The Brief's **API credentials** screen. Copy and paste them into their respective fields. &#x20;

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

From here, we'll move on to the actions you can do with the app in Zapier and finish setting up your Zap.&#x20;


---

# 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.thebrief.ai/zapier-integration/setting-up-zapier-with-the-brief/setting-up-the-first-zap.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.
