# Not able to integrate with sendgrid

**URL:** https://meta.discourse.org/t/not-able-to-integrate-with-sendgrid/127523
**Category:** Self-hosting
**Created:** [September 3, 2019, 8:51pm UTC](https://meta.discourse.org/t/not-able-to-integrate-with-sendgrid/127523 "2019-09-03T20:51:57Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [September 4, 2019, 8:16am UTC](https://meta.discourse.org/t/not-able-to-integrate-with-sendgrid/127523/4 "2019-09-04T08:16:29Z")

</div>

> [@Satwik\_Kansal](#):
>
> I don’t think there’s a concept of username in sendgrid

They use different terminology but you’re still connecting to what is essentially a standard SMTP server, which will require authentication.

Go to the `Teammates` section - [https://app.sendgrid.com/settings/teammates](https://app.sendgrid.com/settings/teammates)

In there you will see the account details that are able to send email:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/4/14191fc871dafecee438cebe28a52baf5a019230.png)

The value in the “Username” column is what you need to enter in the Discourse setting `DISCOURSE_SMTP_USER_NAME`

So if the “Username” was `SK2019` then you’d have something like:

```plaintext
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: SK2019
DISCOURSE_SMTP_PASSWORD: 'xxxx.xxxxxx.xxxx'

```

---

_[View the full topic](https://meta.discourse.org/t/not-able-to-integrate-with-sendgrid/127523)._
