# Ask AI

An optional assistant that answers questions from your docs and links to its sources.

Ask AI answers only from a Sanity Context Knowledge Base built from your docs, through the Vercel AI Gateway. It stays hidden until it is configured.

> **INFO**
>
> Without the three environment variables below, the button does not appear and the chat API returns 503.
