# Connecting SMTP

To connect SMTP, you first need to retrieve the SMTP credentials from your email service provider.\
In this guide, we’ll show you how to do it using **SendGrid**.

1. Log In to [SendGrid](https://sendgrid.com)
2. Go to [SMTP](https://app.sendgrid.com/guide/integrate/langs/smtp) settings page

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2Fx5ONP8WNJ23SvWVo9BJ0%2F1.png?alt=media&#x26;token=7cf38753-7a22-4ca3-a74e-094a77eab98b" alt=""><figcaption></figcaption></figure>

Create an API Key

1. Enter a name for the key (for example: *Highlightcards SMTP*).
2. Click **Create  Key**.
3. Copy the generated API key — you’ll need it during the Highlightcards setup.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2F7F79BTODi24TZJn6Fc0j%2F2.png?alt=media&#x26;token=163ef5b8-413c-4019-827e-e4780da6d0bf" alt=""><figcaption></figcaption></figure>

Add SMTP to Highlightcards

> Highlightcards > Left-Hand Menu > [**Account Settings**](https://app.highlightcards.co.uk/settings) > [**Services**](https://app.highlightcards.co.uk/settings/services)

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2FchGGhutaDR3yAH61AEBa%2F3.png?alt=media&#x26;token=23906197-ac13-4939-95ed-acd2851f2c9f" alt=""><figcaption></figcaption></figure>

1. In the **Custom SMTP** section, click **Connect Account**.
2. A form will appear asking for:
   * SMTP Server
   * Port
   * Username
   * Password
   * Sender's email
   * Sender's name
3. Copy and paste the SMTP details from SendGrid into the corresponding fields.
4. Click **Connect**.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2FSikW9g6ek46yVmd0itMj%2F4.png?alt=media&#x26;token=16ca0a06-fb4b-4fd0-83dc-29af4e07eb2f" alt=""><figcaption></figcaption></figure>

If everything is correct, the SMTP connection will be added successfully.

Send a Test Email

After connecting, you will see a **Send Test Message** button.

1. Enter your email address.
2. Click **Send Test Message**.
3. Check your inbox to confirm delivery.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2FtPqG9A7YaxmYWVV1VpDJ%2F5.png?alt=media&#x26;token=848ac7fe-6235-4e2d-b1c2-91aa39baaea8" alt=""><figcaption></figcaption></figure>

If the test email arrives, your SMTP setup is active.

Verify Integration in SendGrid

To ensure SendGrid recognizes Highlightcards’ activity:

1. Go back to your SendGrid dashboard.
2. Open **Activity** or **Integration Verification**.
3. Click **Verify Integration**.

<figure><img src="https://3521983700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0bs7G2SF7Qp4SsSMsJsJ%2Fuploads%2F40gWmMq5LzD9Lxa3Z4pU%2F6.png?alt=media&#x26;token=5120e887-075c-4c56-8cf1-51da3e450c33" alt=""><figcaption></figcaption></figure>

This confirms that Highlightcards can successfully send emails using your SMTP credentials.
