> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sendgrid

> Follow these steps to connect Sendgrid with StackOne Hub successfully.

<Warning>
  Ensure you have Owner privileges for your Sendgrid account.
</Warning>

If you've been directed to StackOne to integrate with Sendgrid, the following steps will help you understand the process and any necessary actions to configure successful integration.

## Generating an API key

<Steps>
  <Step title="Sign in to Sendgrid">
    Sign in to the Sendgrid Dashboard.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Sendgrid Dashboard" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image1.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=d41861202e38f33886af8ffd6746ba3a" width="400" height="726" data-path="images/sendgrid/image1.png" />
    </Frame>
  </Step>

  <Step title="Go to Settings">
    Click on the Settings dropdown and select API Keys.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Sendgrid settings" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image2.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=8fa6294d04ebf42b78326f97cc6edbce" width="252" height="482" data-path="images/sendgrid/image2.png" />
    </Frame>
  </Step>

  <Step title="Generate the API Key">
    To Generate the API Key, click the **Create API Key** button

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Key" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image3.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=888481cab7f318ac0be96faf6eee8ec8" width="1887" height="674" data-path="images/sendgrid/image3.png" />
    </Frame>
  </Step>

  <Step title="Configure permissions">
    Enter the API Key Name and select **Full Access** under *API Key Permissions*.

    Click **Create & View** to generate the API Key.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Permissions" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image4.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=e783da29405b8c6ec17c51119d99add5" width="1818" height="1298" data-path="images/sendgrid/image4.png" />
    </Frame>
  </Step>

  <Step title="Copy the API Key">
    Copy your new API Key to a safe place to be used in the next step.

    Click <b>Done</b> in the bottom once complete.

    <Warning>
      The API Key is not created until you click the <b>Done</b> button.
    </Warning>

    <Frame>
      <img className="rounded-md" style={{ width: '400px', margin: '0 auto', border: '1px solid #efefef' }} alt="API Key dialog" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image5.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=7705161dd27557d0b3ae01dc758adf77" width="1665" height="408" data-path="images/sendgrid/image5.png" />
    </Frame>
  </Step>
</Steps>

## Use the API Key in the StackOne Hub

Upon reaching the Link Account page, enter the generated API key and proceed by clicking the <b>Connect</b> button.

<Frame>
  <img className="rounded-md" style={{ width: "400px", margin: "0 auto", border: "1px solid #efefef" }} alt="Access Token Created" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/C1VeUVSQ_nltDcS8/images/sendgrid/image6.png?fit=max&auto=format&n=C1VeUVSQ_nltDcS8&q=85&s=323c0bfdd23a4a1d60d1db95dcb495ff" width="486" height="495" data-path="images/sendgrid/image6.png" />
</Frame>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
</ul>

## Useful Links

<Card title="API Reference" icon="link" href="https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api">
  [https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api](https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api)
</Card>
