Skip to main content
This guide walks you through creating an AI Teammate via API and embedding it in your application. You’ll need an API key from the TruGen Developer Portal before you start.
1

Create an Agent

Use the Create Agent API to spin up a new AI Teammate.
Replace <api-key> with your actual API key from the Developer Portal.
The response includes an id — save it for the next step.
2

Embed the Agent

Paste the agent id into the iframe below and drop it into any web page.
Replace <agent-id> with the id returned in Step 1.
Your agent is now live — open the page in a browser and start a conversation.

What’s Next?

Avatars

Browse stock avatars and find the right face for your agent.

Templates

Use templates to define persona, tone, knowledge, and session behaviour at scale.

Knowledge Base

Connect your content so agents give accurate, grounded answers.

API Reference

Explore all endpoints for agents, templates, tools, and knowledge base.