Start here

Install now. Sign in when you need the key.

Install the package and add two lines. They do nothing until step 3, when you connect your app.

  1. 1Install

    pip install springprompt
  2. 2Add the two lines

    import springprompt
    springprompt.init()

    Put them where your app starts, before it makes its OpenAI or Anthropic client. Without a key they do nothing at all, so it is safe to commit them now.

  3. 3Connect

    python -m springprompt init

    Run it in your app's folder. It opens Spring Prompt in your browser, where you sign in with your email and pick a project. The key goes into .env as SPRINGPROMPT_KEY, and .env is added to .gitignore.

    Get your key

    Or get the key in the browser and put it in your app's environment yourself. $10 of free test credit. No credit card needed.