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

# Authorize SendGrid

{% hint style="info" %}
Access to **Email Activity** requires an **add-on subscription** in SendGrid. Without this add-on, the Email Activity API is not available. Retention of Email Activity data also depends on the subscription level (typically 7 days by default, extended to 30 days with the add-on).
{% endhint %}

1. Log in to your SendGrid account.<br>
2. Navigate to **Settings** > **API Keys**<br>

   <figure><img src="/files/pBpa8aHgmgZaFKF5uopB" alt=""><figcaption><p>Navigate to Settings > Click on API Keys<br></p></figcaption></figure>
3. Click on **Create API Key**<br>

   <figure><img src="/files/RRCEH0swuHcIDPmOUZHi" alt=""><figcaption><p>Click on Create API Key<br></p></figcaption></figure>
4. In the API Key Permissions, select **Custom Access** and grant **Full Access** for the objects you want to sync.<br>

   <figure><img src="/files/8OnVFW2n8saFrXh1OmZC" alt=""><figcaption><p>Choose <strong>Custom Access</strong> and grant <strong>Full Access</strong> for the objects you want to sync<br></p></figcaption></figure>
5. Copy and save the generated **API Key** (API Key begins with "SG")<br>

   <figure><img src="/files/H6qp1Mzs8n2qUW2bHwwi" alt=""><figcaption><p>Copy and save the API Key<br></p></figcaption></figure>
6. You now have all the necessary credentials to grant Stacksync access to your SendGrid Objects. Go back to the Stacksync dashboard at <https://app.stacksync.com><br>

   <figure><img src="/files/kgY5OSzddBJyco49adk1" alt=""><figcaption><p>Click on SendGrid Connector<br></p></figcaption></figure>

   <figure><img src="/files/QWAt1bwPAlYMIouWfJC3" alt=""><figcaption><p>Insert the API Key obtained from the preview steps in the SendGrid Connector<br></p></figcaption></figure>

You successfully granted Stacksync access to your SendGrid resources! :tada:\
Feel free to reach out to us at <hello@stacksync.com> if there is anything we can help with!
