# 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="/files/lkwAuVDDevvsRCvhSvE4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/YJGb1pyfpb57XUXT1qTw" alt=""><figcaption></figcaption></figure>

Copy và lưu lại API Key

<figure><img src="/files/Rfb4DyC7Ph1iBkCwYFDG" 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="/files/b1Lfo10r2s7PXAUNT9fQ" alt=""><figcaption></figcaption></figure>


---

# 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://tailieu.smax.ai/module-cai-dat/tich-hop/groq.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.
