# Server Setup

## What is server setup?

If you want to start a community, a friend group, or anything else, ChannelBot server setup is a great way to get started! Choose from a variety of templates, and ChannelBot will create all roles, permissions, and channels for you!

## How to setup your server:

In your server, run `ch!serversetup`. If the bot prompts you to upvote, follow the instructions.

Once you have upvoted, run the command again. You should see something like this:

![](https://2382464231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_FD6IWYvVEEAuQCcg6%2F-MN-NZ5qgNtXRIVER8L6%2F-MN-OCLtFdO08kw2jUJ4%2FDiscordCanary_s3nayhIuvT.png?alt=media\&token=f1d89b64-fbba-4daf-b1d3-f7306cbb533c)

Choose one of the templates, and send the name of the template to the channel. The bot will ask you to confirm if you want to setup your server. **Setting up your server will delete all channels, roles, permissions, and emojis that were there before, so use caution!** Run `ch!confirm` if you would like to continue, or wait 10 seconds to cancel.

If you continue, the bot should start deleting all channels and roles, then creating new roles and channels. You will receive a DM when it is complete.


---

# 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://docs.channelbot.xyz/guides/server-setup.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.
