> For the complete documentation index, see [llms.txt](https://tailieu.smax.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.smax.ai/module-cai-dat/tich-hop/groq.md).

# Groq

{% hint style="warning" %}
Hướng dẫn thêm tích hợp Groq vào SmaxAi
{% endhint %}

Đầu tiên bạn truy cập trang tạo API Key của Groq [<mark style="color:purple;">**tại đây**</mark>](https://console.groq.com/keys)

Sau đó chọn Create API Key

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2F0iZarpBaWB2chIfDhpd1%2Fimage.png?alt=media&amp;token=b75296f3-01a8-4156-8ff2-40f9a769bafa" alt=""><figcaption></figcaption></figure>

Đặt tên cho API Key, sau đó chọn Submit để tạo mới

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2Fd0byn8UeKVq3MWohnKGV%2Fimage.png?alt=media&amp;token=ac958559-01a0-41bb-936f-b8797a542c55" alt=""><figcaption></figcaption></figure>

Copy và lưu lại API Key

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FirCxsrBnfRy3Zwxdy2yc%2Fimage.png?alt=media&amp;token=17db32ec-fe7e-4123-b329-a455300f6d5f" alt=""><figcaption></figcaption></figure>

Sau đó trong phần Tích hợp, chọn Thêm mới

Phần nền tảng chọn Groq, đặt tên và dán API Key vừa tạo ở trên vào ô API Key, sau đó chọn Lưu

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2F8A34bL6eDJWuyV9EFc9A%2Fimage.png?alt=media&amp;token=b0fb39d0-fc5d-44b2-a151-9f8db249a0b0" alt=""><figcaption></figcaption></figure>
