# API Key and IP Port Setup

## Setting Up an API Key and getting your Server IP Port

If you want to use our services like the Web Panel, Web-Api or Discord bot, you will need to generate an API Key and know your Server IP Port, this can be achieved with a simple command in your server console:

```
botsentry apipassword {your_desired_password}
```

That command will set an API Key for your Server and will tell your what is your Server IP:Port. If you forget your server IP Port, you can get it by doing /bs stats
