mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
The Python bindings (which are used for bots, amongst other things) can be configured either with a .zuliprc file or with environment variables in the host machine. This new page in the user docs explains how to set the bindings up using both techniques, and is a good reference on the setup required by Zulip bots.
1.0 KiB
1.0 KiB
API keys
You can create bots on your settings page. Once you have a bot, you can use its email and API key to send messages.
Create a bot:
Look for the bot's email and API key:
If you prefer to send messages as your own user, you can also find your API key on your settings page:
When using our Python bindings, you may either specify the user
and API key for each Client object that you initialize, or let the binding look for
them in your ~/.zuliprc. An automatically generated default version can be found in
your bot's details:
Another alternative is manually creating your own .zuliprc file, or setting
environment variables that are equivalent. You can find out more about these
methods here.