···23232424Create and edit `~/config.toml`. Refer to [example.toml](docs/example.toml) for options.
25252626+## Build Dockerfile
2727+2828+Navigate to the repository root and run the following command (Note that you can substitute `podman` with `docker`):
2929+3030+```shell
3131+podman build -t xmpp-discord-bridge:latest -f contrib/Dockerfile .
3232+```
3333+2634### XMPP
27352836In order for the bridge to work, it needs to have an affiliation of `owner` before joining. Going off of the example.toml, it would have the JID of `bot@discord.example.com`.
···51595260Now it's time to invite your bot to your server. Don't worry about your bot being started for this next step. On the left-hand menu click "OAuth2" and copy the Client ID into this URL then navigate to it.
53615454- https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=536870912
6262+ https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=536870912
55635664The "permissions=536870912" at the end of the URL corresponds to the "Manage Webhooks" permission. It is required for the bridge to work correctly.
5765