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

# Quickstart

> A step-by-step guide to get started at Ottic.

This quickstart guide walks you through each essential step in Ottic:

**1. Insert your model provider API key**

Go to [LLM Models](https://docs.ottic.ai/llm-models) and create model with your model provider API key.
\[!NOTE] This is essential enabling you to run LLM-as-a-judge evaluations.

![Introduction](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/llm-models.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=6ee1ecf63d0562e59be98c4baa93537a)

**2. Create your first prompt**

In the `Prompts` menu:

* **Click** “Create new prompt”;
* **Add** the prompt you will test;
* **Save** the prompt you created.

  ![Prompts](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/createprompt1.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=fb250216415fd3d227de9ce731d538fb)

  ![Prompts](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/createprompt23.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=893a34d359403162797623963d2928ea)

> [!NOTE]
>
> See more on prompts in the section [create prompts](https://docs.ottic.ai/essentials/prompt.md)

**3. Write your first test case**

In the `Test Cases` menu:

* (1) **Click** “Create new test case";

  ![Createtestcase](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/testcase1.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=1ae74ba8f41737510776edd4fe878705)
* (2) **Define** of details of your test case (title and description);
  * **Choose** the prompt you just created;
  * **Add** the input (the message you want to test);
  * **Add** the expected output (the response expected);
* (3) **Save** your test case.

  ![Createtestcase](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/testcase2.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=efef1c6ae526a6e93b4a7d4b0335d55d)

> [!NOTE]
>
> See more on test cases in the section [write test cases](https://docs.ottic.ai/essentials/test_case.md)

> [!NOTE]
>
> We provide an API to migrate your test cases to Ottic. See more on [API reference](https://docs.ottic.ai/api-reference/introduction.md)

> [!TIP]
>
> We provide white-glove support for test pipeline migration. [Contact us](mailto:rafael@ottic.ai).

**4. Run your first test**

In the `Test Runs` menu:

* **Click** "Start new test run";

  ![Testrun](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/run1.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=5cfe2ec20a74476c3a2f210c9d565874)

  * **Select** the test case you just created;
  * **Click**, "Run" to run your test;

    ![Testrun](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/run0.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=7aaaffa401a3dbcc78585f42905696bf)
* **See** the result (passed, failed);

  ![Testrun](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/run2.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=e86d75db8dd0d0fc0c3541be37f60343)
* **Open** the executed test case to explore details and reasoning.

  ![Testrun](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/run3.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=b64171311da464c6fb7a87b950c8bda3)

> [!NOTE]
>
> See more on test runs in the section [execute test runs](https://docs.ottic.ai/essentials/test_run.md)

**5. Publish your prompt to production**

You can publish your prompt directly to production from Ottic.

In the `Prompts` menu:

* **Open** the prompt you just tested;
* **Select** the version you want to publish from the dropdown;
* **Click** "Publish".

  ![Testrun](https://mintcdn.com/ottic-65/nojWNBWtNbQT6cbM/images/publish_prompt.png?fit=max\&auto=format\&n=nojWNBWtNbQT6cbM\&q=85\&s=8e06493e7bd3441daccd7bccdb8dd8db)

> [!WARNING]
>
> To publish prompts to production from Ottic, install Ottic SDK.
> See more on [Integrations](https://docs.ottic.ai/integrations/integrations)

To unlock the full potential of Ottic, you'll find detailed guides on the next sections.


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