> For the complete documentation index, see [llms.txt](https://docs.skydeck.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skydeck.ai/zh-cn/integrations/llms-and-databases/mistral-integration.md).

# Mistral 集成

## 概述

Mistral是一家人工智能研究公司，专注于开发尖端的大型语言模型，强调效率和可扩展性。他们的使命是让前沿人工智能无处不在，并为所有建设者提供量身定制的人工智能。这需要强烈的独立性、对开放、可移植和可定制解决方案的坚定承诺，以及在有限时间内交付最先进技术的极端关注。

## 生成 Mistral API 密钥

要使用 Mistral API，您需要按照以下简单步骤生成一个 API 密钥：

1. 前往 Mistral 的 **La Plateforme** <https://console.mistral.ai/> 并登录。如果您没有账户，可以在此注册。
2. 登录后，前往 **API 密钥**。请注意，您需要先设置一个 [计费计划](https://console.mistral.ai/billing/) 才能生成和使用 Mistral API 密钥。
3. 点击 **创建新密钥** 按钮以生成新的 API 密钥。为令牌提供一个名称和到期日。复制令牌以备后用，因为它将不会再次显示。

完成了！一旦您拥有 API 密钥，就可以在 SkyDeck AI 平台中使用 Mistral 的 LLM。

{% hint style="info" %}
请注意，API 密钥可能需要几分钟才能可用，因此如果您立即将其添加到控制中心，可能会看到错误消息。在生成 API 密钥后，请等待几分钟再将 Mistral 与 SkyDeck AI 集成。
{% endhint %}

## 将 API 密钥添加到 SkyDeck AI 控制中心

API 密钥添加到控制中心集成屏幕。

1. 在这里登录或创建一个 SkyDeck AI 管理员帐户：<https://admin.skydeck.ai/>
2. 登录后，访问您的集成页面 [https://admin.skydeck.ai/integrations/ ↗](https://admin.skydeck.ai/integrations/)，或在侧边栏中选择 **Integrations**。
3. 在 LLM 集成页面，点击 **Add Integration** 按钮，选择 Mistral 作为集成服务，并在凭据密钥中输入您的 API 密钥。

<figure><img src="/files/TzTPWovjAM16REhJu6mY" alt="mistral integration" width="563"><figcaption></figcaption></figure>

就这样！您现在可以使用强大的 SkyDeck AI 工具并直接访问 Mistral 的模型。

## 结论

将 Mistral 与 SkyDeck AI 平台集成提供了一套强大的功能和能力，利用 Mistral 的先进语言模型提供准确可靠的答案。确保您及时了解 Mistral 最新的模型和功能，以最大化此集成的好处。如需额外帮助或咨询，请参阅 [Mistral 文档](https://docs.mistral.ai/) 或联系他们的支持团队。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.skydeck.ai/zh-cn/integrations/llms-and-databases/mistral-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
