> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/chat-models/mistral-ai.md).

# ChatMistralAI

## Prerequisite

1. Register a [Mistral AI](https://mistral.ai/) account
2. Create an [API key](https://console.mistral.ai/user/api-keys/)

## Setup

1. **Chat Models** > drag **ChatMistralAI** node

<figure><img src="/files/zx1N5w5BJpsBWZmczua0" alt="" width="563"><figcaption></figcaption></figure>

2. **Connect Credential** > click **Create New**

<figure><img src="/files/oRhp2LvBCj2qStGuF9UA" alt="" width="278"><figcaption></figcaption></figure>

3. Fill in the **Mistral AI** credential

<figure><img src="/files/9QstypQgyWsaOTkhPVAT" alt="" width="563"><figcaption></figcaption></figure>

4. Voila [🎉](https://emojipedia.org/party-popper/), you can now use **ChatMistralAI node** in Flowise

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

## Resources

* [LangChain JS ChatMistralAI](https://js.langchain.com/docs/integrations/chat/mistral)
* [Mistral AI](https://mistral.ai/)
* [Mistral AI Docs](https://docs.mistral.ai/)
