Skip to content

Intro to Mistral AI

Intro to Mistral AI is Per Borgen's free Scrimba course on building apps with the Mistral API, from simple chat completions to RAG and function calling. Its lessons run as a small Vite project in the browser. In the function-calling lesson, the model decides to call a function you wrote, and the result shows up in the browser console. On Scrimba the project reads your Mistral key from the environment; on your own machine that lookup needs one change before anything runs.

These pages accompany the course. They hold the setup detail that changes faster than a recorded lesson can, so it can be corrected here instead of re-recorded.

The pages

Running Intro to Mistral AI locally is for when you have downloaded and extracted a lesson's project and want it running on your own machine. It covers what to install first, how to make the API key work in Vite, how to start the project, and where to find the function-calling result.

Looking for a different course?

Run an AI course project locally lists every course and project that has a setup guide.

Take Intro to Mistral AI on ScrimbaBuild with Mistral's chat, embeddings and function calling in Scrimba's free Intro to Mistral AI course.