# Create an agent from a template

Launch an AI agent for your business from a ready template in 3 minutes and try it in the test chat.

> Full REST + WebSocket API reference: https://api.happ.tools/reference

## What you need [#what-you-need]

* A Happ workspace with an active plan or trial.
* A short description of your business: what you sell, delivery, payment.

<Steps>
  <Step>
    ### Open the template gallery [#open-the-template-gallery]

    In the sidebar click **Agents**, then **Create agent**. Templates are grouped by niche: restaurant, hotel, clinic, real estate, car service, online store, beauty salon.
  </Step>

  <Step>
    ### Pick a template and name the agent [#pick-a-template-and-name-the-agent]

    Click a card, for example **Online store Happ**, enter the agent name and click **Create**. The settings open with a ready prompt and first message.
  </Step>

  <Step>
    ### Make it yours [#make-it-yours]

    In **Global prompt** replace the examples with your data: store name, delivery terms, warranty. In **First message** write a greeting in your brand voice. Click **Save**.
  </Step>

  <Step>
    ### Try it in the test chat [#try-it-in-the-test-chat]

    Click **Test** in the top bar and write to the agent the way a customer would. The agent answers from its prompt and knowledge base.
  </Step>
</Steps>

<Callout title="Tip">
  Put product, delivery and payment facts into the [knowledge base](/docs/agents/knowledge): answers get more precise and the prompt stays short.
</Callout>

## Next [#next]

* [Connect a Telegram bot](/guides/telegram-bot) so the agent answers customers.
* [Test cases](/guides/tests) to check the agent after every change.
