2021-05-22 11:39:31 +00:00
|
|
|
# Setting up Appservices
|
|
|
|
|
|
|
|
## Getting help
|
|
|
|
|
2024-08-24 03:13:43 +00:00
|
|
|
If you run into any problems while setting up an Appservice: ask us in
|
|
|
|
[#conduwuit:puppygock.gay](https://matrix.to/#/#conduwuit:puppygock.gay) or
|
|
|
|
[open an issue on GitHub](https://github.com/girlbossceo/conduwuit/issues/new).
|
2021-05-22 11:39:31 +00:00
|
|
|
|
2021-09-15 20:16:59 +00:00
|
|
|
## Set up the appservice - general instructions
|
2021-05-22 11:39:31 +00:00
|
|
|
|
|
|
|
Follow whatever instructions are given by the appservice. This usually includes
|
2024-08-24 03:13:43 +00:00
|
|
|
downloading, changing its config (setting domain, homeserver url, port etc.) and
|
|
|
|
later starting it.
|
2021-05-22 11:39:31 +00:00
|
|
|
|
|
|
|
At some point the appservice guide should ask you to add a registration yaml
|
|
|
|
file to the homeserver. In Synapse you would do this by adding the path to the
|
2024-06-02 22:00:38 +00:00
|
|
|
homeserver.yaml, but in conduwuit you can do this from within Matrix:
|
2021-05-22 11:39:31 +00:00
|
|
|
|
2024-06-02 22:00:38 +00:00
|
|
|
First, go into the `#admins` room of your homeserver. The first person that
|
2021-05-22 11:39:31 +00:00
|
|
|
registered on the homeserver automatically joins it. Then send a message into
|
|
|
|
the room like this:
|
|
|
|
|
2024-06-17 01:30:51 +00:00
|
|
|
!admin appservices register
|
2021-05-22 11:39:31 +00:00
|
|
|
```
|
|
|
|
paste
|
|
|
|
the
|
|
|
|
contents
|
|
|
|
of
|
|
|
|
the
|
|
|
|
yaml
|
|
|
|
registration
|
|
|
|
here
|
|
|
|
```
|
|
|
|
|
|
|
|
You can confirm it worked by sending a message like this:
|
2024-06-02 22:00:38 +00:00
|
|
|
`!admin appservices list`
|
2021-05-22 11:39:31 +00:00
|
|
|
|
2024-06-17 01:30:51 +00:00
|
|
|
The server bot should answer with `Appservices (1): your-bridge`
|
2021-05-22 11:39:31 +00:00
|
|
|
|
2024-06-02 22:00:38 +00:00
|
|
|
Then you are done. conduwuit will send messages to the appservices and the
|
2021-05-22 11:39:31 +00:00
|
|
|
appservice can send requests to the homeserver. You don't need to restart
|
2024-06-02 22:00:38 +00:00
|
|
|
conduwuit, but if it doesn't work, restarting while the appservice is running
|
2021-05-22 11:39:31 +00:00
|
|
|
could help.
|
2021-09-15 20:16:59 +00:00
|
|
|
|
|
|
|
## Appservice-specific instructions
|
|
|
|
|
2021-12-20 14:46:36 +00:00
|
|
|
### Remove an appservice
|
|
|
|
|
|
|
|
To remove an appservice go to your admin room and execute
|
|
|
|
|
2024-06-02 22:00:38 +00:00
|
|
|
`!admin appservices unregister <name>`
|
2021-12-20 14:46:36 +00:00
|
|
|
|
2024-03-31 01:38:44 +00:00
|
|
|
where `<name>` one of the output of `appservices list`.
|