> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peopledatalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How To Authenticate Our APIs Within a Zap

To authenticate our APIs within a zap, do the following:

1. Go to your Zapier dashboard ([https://zapier.com/app/dashboard](https://zapier.com/app/dashboard)) and click **Create Zap**:

![2924](https://files.readme.io/be05b71-zapier-2.png "zapier-2.png")

2. In the Zap Editor, name your zap. For this tutorial, we'll name it **Enrich New Emails**:

![2928](https://files.readme.io/670e3d8-zapier-3.png "zapier-3.png")

3. Select the app that you want to connect to our Enrichment APIs. We'll choose **Gmail**:

![2880](https://files.readme.io/6932503-zapier-4.png "zapier-4.png")

4. Choose the event that will trigger our zap and click **Continue**. We'll select **New Email**:

![2880](https://files.readme.io/f46271b-zapier-5.png "zapier-5.png")

5. Sign into your Gmail account:

![2880](https://files.readme.io/15348c3-zapier-6.png "zapier-6.png")

![1014](https://files.readme.io/c234f08-zapier-7.png "zapier-7.png")

![2880](https://files.readme.io/22c0929-zapier-8.png "zapier-8.png")

5. Set the trigger to **Inbox and All Labels** (the default setting) and click **Continue**:

![2880](https://files.readme.io/49a06ee-zapier-9.png "zapier-9.png")

6. Test your trigger by clicking **Test Trigger** and following the instructions:

![2880](https://files.readme.io/f7d2f1a-zapier-10.png "zapier-10.png")

7. Set **People Data Labs** as the app that a new email triggers:

![2880](https://files.readme.io/116a232-zapier-11.png "zapier-11.png")

8. Choose **Enrich Person** as the action that a new email event takes and click **Continue**:

![2880](https://files.readme.io/b894d69-zapier-12.png "zapier-12.png")

9: Sign into People Data Labs:

![2880](https://files.readme.io/d93fa49-zapier-13.png "zapier-13.png")

10. Enter your People Data Labs **API Key** and click **Yes, Continue**:

![1242](https://files.readme.io/806421e-zapier-14.png "zapier-14.png")

11. Click **Continue**:

![2880](https://files.readme.io/1446282-zapier-15.png "zapier-15.png")

**Note**: See [Lead Enrichment with Zapier and Salesforce](https://blog.peopledatalabs.com/post/lead-enrichment-with-zapier-and-salesforce-tutorial) for a full tutorial on setting up Zapier with our Enrichment APIs.