# Hướng dẫn cấu hình Email Sendgrid

{% hint style="success" %}
Để cấu hình email Sendgrid, bạn vui lòng đăng nhập vContact bằng tài khoản chủ doanh nghiệp.

Đi đến **Cấu hình / Marketing / Cấu hình Email** và thêm nhà cung cấp là Sendgrid
{% endhint %}

![](/files/nhrRddmh2CAAPVrQxCo9)

![](/files/GsRCfkA1VRUDkk7zuCqz)

{% hint style="info" %}
Ở Cấu hình Sendgrid, vui lòng nhập đầy đủ thông tin tương ứng

* **Tên cấu hình**
* **Email** (Email hiển thị khi tiến hành gửi email bằng cấu hình này)
* **Tên người gửi** (Tên hiển thị khi tiến hành gửi email bằng cấu hình này)
* **API Key** (lấy ở cấu hình tài khoản Sendgrid, hướng dẫn bên dưới)
  {% endhint %}

### Cách lấy API Key ở tài khoản Sendgrid

{% hint style="success" %}
Để lấy **API Key từ Sendgrid**, hãy chắc chắn bạn đã có tài khoản Sendgrid trước đó. Sử dụng tài khoản Sendgrid để truy cập **Setting / API Key** với đường dẫn [**này**](https://app.sendgrid.com/settings/api_keys)&#x20;

Nếu chưa có tài khoản, vui lòng tạo tài khoản tại đây <https://signup.sendgrid.com/>
{% endhint %}

![Danh sách API Key của tài khoản Sendgrid](/files/xC7ESKsa2HcODtG6vt1I)

{% hint style="info" %}
Nhấn vào nút **Create API Key** để tiến hành tạo mới API Key. Đặt tên cho API Key này và chọn option **Full Access**
{% endhint %}

![Tạo mới API Key](/files/dekPMm3XJk28r8CBrpVk)

{% hint style="info" %}
**Sau khi tạo thành công, vui lòng bảo mật API Key này và đảm bảo bạn đã lưu lại nó, bởi bạn chỉ có thể thấy API Key một lần duy nhất khi tiến hành tạo mới.**
{% endhint %}

![Tạo API Key thành công](/files/-MEezrW2ZGYwmBTZ5oc9)

{% hint style="success" %}
Copy API Key này và điền vào Cấu hình Sendgrid ở vContact

Để tiến hành gửi email, truy cập **Marketing / Email** và tạo mới phiên gửi với cấu hình vừa tạo
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vcontact1.viettel.vn/huong-dan-chung/huong-dan-cau-hinh-email-sendgrid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
