> 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/two-way-sync/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/o9IfmuoWilz1NKFUF2QN" 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/UdZJL85UVCW6KXu6xGxU" 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/mlC3fTyrwX6QHEdH8Knx" 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/yXgXJi9NVXB5yq8uIP11" 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/O8Go2IkFJyFOiz3Q3gbW" alt=""><figcaption><p>Click on SendGrid Connector<br></p></figcaption></figure>

   <figure><img src="/files/4KRPTpeFBjqu9YLU4PKa" 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!
