> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aikeedo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistral OCR

> Read scanned PDFs and images in chat with Mistral OCR, which keeps tables and layout as Markdown.

## Introduction

Mistral OCR reads PDFs and images, including scans, tables and handwriting, and keeps their layout as Markdown. As the [file reader](https://docs.aikeedo.com/advanced/file-reading.md#file-reader), it lets users ask about documents your server can't get text from. Other file types are always read on your server.

## Setting up

**1. Get an API key**

Sign in to the Mistral console and open [API keys](https://console.mistral.ai/api-keys). Create a key and copy it.

**2. Add it to Aikeedo**

Go to **Settings → Integrations → Mistral**, paste the key into **API Key**, and click **Save changes**.

**3. Choose it as the file reader**

In **Settings → Features → Chat**, under **File reading**, choose **Mistral OCR** as the **File reader**. Leave **Use only as fallback** on to send only the files your server can't read.

## Credits and privacy

Users are charged per page at the **Mistral OCR** rate, under **Settings → Finance → Credit ratios**.

> [!WARNING]
>
> Files read by Mistral OCR are sent to Mistral. With **Use only as fallback** off, every PDF and image users attach is sent.

Mistral OCR also reads files added to knowledge bases.

## Troubleshooting

> [accordion] Scanned PDFs are still not read
>
> Check that **Mistral OCR** is the **File reader** and the API key is saved. With **Use only as fallback** on, only files your server gets no text from are sent.

> [accordion] Requests fail with an authentication or quota error
>
> Check the key and your plan in the Mistral console.

## Need Help?

If you need assistance with Aikeedo:

> [card] [Professional Support](https://aikeedo.com/support/?utm_source=docs\&utm_medium=content)
>
> Get expert help from our team with a paid support subscription

> [card] [Troubleshooting Guide](https://docs.aikeedo.com/setup/troubleshooting.md)
>
> Check common issues and solutions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.