Skip to content

Set up your API key

Give the provider an API key so pi can talk to Mistral. You need this once, before your first chat.

  • pi installed, with the pi-mistral-native package installed (pi install npm:pi-mistral-native)
  • an API key from La Plateforme
  1. Pick one method:

    Run the guided login:

    /login mistral-native

    It prompts for the API key (no echo), then for the API region.

  2. Verify the key is configured:

    /mistral

    The status card shows Auth: configured with the source — never the key itself.

See Credential chain · Keep secrets out of the config file