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

# Publishing & Testing

> Test your agent and publish it for deployment.

## Testing your agent

Before publishing, use the built-in test modal to have a live conversation with your agent.

<Steps>
  <Step title="Click Test">
    Click the **Test** button in the top-right corner of the agent configuration page.
  </Step>

  <Step title="Start talking">
    A voice connection will be established. Speak naturally  - your agent will respond in real time using your configured voice, LLM, and instructions.
  </Step>

  <Step title="Review the conversation">
    After ending the test call, review the transcript in the **Conversations** section. Check that:

    * The agent follows your instructions
    * The voice sounds natural
    * Tools and functions work correctly
    * The welcome message plays as expected
  </Step>
</Steps>

<Tip>
  Test your agent with different scenarios and edge cases. Try asking off-topic questions, interrupting the agent, and testing tool invocations.
</Tip>

## Publishing your agent

Publishing makes your agent available for deployment via phone numbers, widgets, and demo links.

<Steps>
  <Step title="Review configuration">
    Ensure all required settings are filled in:

    * Instructions are written
    * A voice is selected
    * An LLM model is selected
    * Language settings are compatible with your voice selection
  </Step>

  <Step title="Click Publish">
    Click the **Publish** button. Sonara validates your configuration and publishes the agent.
  </Step>

  <Step title="Verify status">
    A success indicator confirms your agent is published. If there are validation errors (missing fields, incompatible settings), they'll be displayed for you to fix.
  </Step>
</Steps>

## Deployment options

Once published, deploy your agent through any of these channels:

| Channel          | Description                                  | Requirement          |
| ---------------- | -------------------------------------------- | -------------------- |
| **Phone number** | Receive inbound calls or make outbound calls | Pro plan or higher   |
| **Web widget**   | Embed a voice agent on your website          | Basic plan or higher |
| **Demo link**    | Share a link for anyone to test your agent   | Basic plan or higher |
| **API**          | Programmatic access to start conversations   | Pro plan or higher   |

<Warning>
  Any changes to an agent's configuration after publishing require re-publishing for the changes to take effect.
</Warning>
