# Use your Sparkpost Account

You can use your Sparkpost account to send email through Customer.io with no loss in functionality. To take advantage of Sparkpost, you need to do two things:

1.  [Point Sparkpost’s webhooks at Customer.io](#webhooks).
2.  [Configure Sparkpost as a custom SMTP server in Customer.io](#custom-smtp).

## Point Sparkpost’s webhooks at Customer.io[](#webhooks)

1.  Go to [Sparkpost’s webhooks page](https://app.sparkpost.com/webhooks).
    
2.  Enter the webhook URL corresponding to your Customer.io account region for every domain you want to send email from in Customer.io.
    
    *   US: `https://track.customer.io/sparkpost/events`
    *   EU: `https://track-eu.customer.io/sparkpost/events`
3.  Click **Select individual events** and select the events you want to report to Customer.io. Do not select *Open* or *Click* events.
    
     Do not send *Click* or *Open* webhooks to Customer.io
    
    Customer.io already tracks this information. If you send these webhooks, we’ll record each event twice (once natively in Customer.io and again via Sparkpost webhook).
    

[![Example webhook config](https://docs.customer.io/images/sparkpost-webhook-config.png)](#c7a0b687ff261677a6ef548d48b450f2-lightbox)

If you want to track opens and clicks via Sparkpost only, you can change [tracking settings](/journeys/link-tracking/#emails) on an email by email basis.

### Create a new SMTP delivery key[](#api-key)

Before you can configure Sparkpost as a Custom SMTP server in Customer.io, you need to generate a Sparkpost API token.

1.  Go to the Sparkpost [API keys](https://app.sparkpost.com/account/api-keys/create) page.
2.  Create a new key for use in Customer.io.
    
    [![Sparkpost create API key](https://docs.customer.io/images/sparkpost-create-api-key.png)](#db1bab91b77d67eace5b8990a7863471-lightbox)
    
3.  Save or copy the generated key as you will need it for configuring your SMTP in Customer.io, and can only access it once!
    
    [![Sparkpost API key created](https://docs.customer.io/images/sparkpost-api-key-created.png)](#4213653a17ff1c2846317c6c0c5b2589-lightbox)
    

## Configure custom SMTP settings[](#custom-smtp)

Before you begin, you need your Sparkpost API key. If you don’t have your API key, you can [generate a new key](https://app.sparkpost.com/account/api-keys/create). This integration uses port 587. If you need to use a different port, you should use a [custom SMTP integration](/journeys/use-your-smtp-server/).

1.  Go to [**Settings** > **Workspace Settings**](https://fly.customer.io/workspaces/last/settings/).
    
2.  Click **Email**, click **Custom SMTP Settings**, and then click **Add Custom SMTP Server**.
    
    [![Custom SMTP settings page](https://docs.customer.io/images/smtp_settings_no_servers.png)](#e716d23f8203dc611fab77ba40838a5f-lightbox)
    
3.  Select **Sparkpost** and click **Continue to set up**.
    
4.  If you haven’t set up webhooks yet, copy the URL on the **Set up webhooks** tab and then [set up webhooks](#webhooks) to report message metrics in Customer.io.
    
5.  Click **Add Credentials** and enter your Sparkpost credentials.
    
    [![Adding one custom SMTP server.png](https://docs.customer.io/images/smtp_settings_sparkpost_creds.png)](#fd0fe89a27071388b28112aacfe5cde1-lightbox)
    
6.  Click **Finish set up**. Your account is now set up to send email through Sparkpost. If you have any questions or feedback, [contact us](https://customer.io/contact/) and we’ll be happy to help!
    

 Configure multiple servers to use both transactional and broadcast streams

If you have a Premium Customer.io plan, you can configure [multiple custom SMTP servers](/journeys/multiple-smtp-servers/) and assign one to each of your Sparkpost server types.