> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/chatflows/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/RxD1vP6W7XlINmgZNmCe" alt="" width="563"><figcaption></figcaption></figure>

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

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

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

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

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

<figure><img src="/files/HZUh7wCVCCAxvLYRUq3v" 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/)
