# How to create a prompt bot

## Step 1: Open the create bot page

If you are using a web browser, go to [poe.com](https://poe.com) and click on the "Create a bot" button in the left sidebar. Alternatively you can navigate directly to [poe.com/create\_bot](https://poe.com/create_bot). If you are using the Poe mobile app, tap the ≡ icon the top-left to open the sidebar and then tap on the "Create a bot" button at the top of the menu.

## Step 2: Customize how your bot will look

#### Upload a picture (Optional)

This helps give your bot a distinctive appearance.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-5188c494ebfa0eaac2f74267c84ce93e7f8d57e8%2Fimage%20(1)%20(1)%20(1).png?alt=media" alt="" width="254"><figcaption></figcaption></figure>

#### Select a bot name

The name is a unique identifier and can be 4-15 alphanumeric characters. The field will come prefilled with a randomly generated name that you can leave as it is. You can always come back and update the name later.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-817bd4f3e0d10c708ba7471c4c2435f6632808bc%2Fimage%20(9).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

#### Write a bot description (Optional)

A piece of text that describes your bot. This will be shown to people who land on the bot page.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-6af5f96c14e70c2bd0e5aa83a2a5ca3a5cedf9db%2Fimage%20(4).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## Step 3: Define your bot's behavior

#### Select a base bot

This is the underlying bot that your prompt bot is powered by.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-d09ef29216e800a54d63b5620c71b2573dfb6390%2Fimage%20(6).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

#### Provide a prompt

Describe what your bot should do or how it should behave. For more information on how to write a good prompt, check out [prompts best practices](https://poe-developers.gitbook.io/documentation/prompt-bots/best-practices-for-prompts) guide. You can also use the "Prompt visible from bot profile" option to decide whether your prompt should be visible to the public.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-00482d2fc050f03d0ef9e29152720f212cd99c03%2Fimage%20(7).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

#### Provide a knowledge base (Optional)

For text generation bots, you can add a knowledge base to provide external information for your bot to reference. Your bot will retrieve relevant parts of the knowledge base for a given user message and use them to inform its response.

A knowledge base consists of one or more knowledge sources which are created from uploaded files or raw text input. Major text file formats (such as .txt, .pdf, .docx, and .html) are supported for file uploads. The size of each knowledge base is limited to 5GB or 30 million characters combined across all knowledge sources.

You can optionally enable "Cite sources" for your bot. This will enable citation UI elements for your bot in addition to instructing the bot to produce in-line citations when appropriate.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-3b438260fbec150e2d4969b5f2dcec95a2986dd3%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

#### Provide an intro message (Optional)

This is the message that the bot starts with when users land on the bot page. This can be used to explain to the users what the bot does or get necessary information that the bot needs to get started.

<figure><img src="https://435547813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcfB81SirqQZbLYjoxuW%2Fuploads%2Fgit-blob-7957d49f86625576f5872de8a4ba8620162547e6%2Fimage%20(10).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## Step 4: Decide if you need any advanced features (Optional)

#### Suggest replies

Whether a user should see some LLM-generated reply options after getting a response from the bot. This could help in lowering friction for users if the option is a good fit for your bot.

#### Render markdown content

Allows messages with the bot to be rendered using Markdown. If this is off, messages are rendered as plain text.

Poe supports GitHub-Flavored Markdown (GFM, specified at <https://github.github.com/gfm/>). However, for security and privacy reasons, prompt bots only support images hosted at imgur.com and unsplash.com. Images that use any other URL will fail to render. Please reach out to us on [Discord](https://discord.gg/TKxT6kBpgm) if you wish to make a request for us to support additional image hosting sites.

#### Custom temperature

Allows you to specify the temperature you want to use for your bot. Higher temperatures will introduce more randomness in your bot's responses. Lower temperatures will produce more consistent results, which can be useful for fact-based bots (especially those equipped with a knowledge base).

## Step 5: Create your bot

After filling out all the required fields, click on the "Create bot" button at the bottom of the screen. That's it! You will be taken to your new bot's page, and from there you can start chatting or share the bot with your friends.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://poe-developers.gitbook.io/documentation/prompt-bots/how-to-create-a-prompt-bot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
