Skip to main content
XUNA AI Conversational AI lets you create voice agents that handle real conversations. This guide walks you through creating an agent, configuring its behavior, and embedding it on your website — using whichever approach fits your workflow.
1

Sign in

Go to xuna.ai and sign in to your account.
2

Create an agent

Click Create agent, enter a name, and select the Blank template.
3

Configure behavior

In the Agent tab, set the first message and system prompt:First message:
Hi, this is Alexis from <company name> support. How can I help you today?
System prompt:
You are a friendly and efficient virtual assistant for [Your Company Name]. Your role is to assist customers by answering questions about the company's products, services, and documentation.

Tasks:
- Answer Questions: Provide clear and concise answers based on the available information.
- Clarify Unclear Requests: Politely ask for more details if the customer's question is not clear.

Guidelines:
- Maintain a friendly and professional tone throughout the conversation.
- Aim to provide concise answers. Limit responses to a couple of sentences.
4

Add a knowledge base

In the Knowledge base tab, upload documents, paste FAQs, or add URLs. The agent uses these to answer questions accurately.
5

Choose a voice

Open the Voice tab and select from 5,000+ voices. Preview voices before saving.
6

Test the agent

Click Test AI agent to start a live conversation with your agent directly in the dashboard.
7

Configure analysis

In the Analysis tab, add evaluation criteria (for example, solved_user_inquiry) and data collection fields (for example, user_question). These power conversation analytics after deployment.
8

Embed on your website

Copy your agent ID from the dashboard and add the widget snippet to your HTML:
<xuna-ai-convai agent-id="your-agent-id"></xuna-ai-convai>
<script src="https://unpkg.com/@xuna-ai/convai-widget-embed" async type="text/javascript"></script>

Next steps

Knowledge base

Upload documents and URLs so your agent answers questions with accurate, grounded information.

Tools

Give your agent the ability to call external APIs, run functions, and take action during conversations.

Authentication

Restrict access to your agent and pass signed user data into conversations.

Conversation analysis

Define success criteria and extract structured data from every conversation.