Hi Team, I was looking at slack integration for no...
# prefect-community
a
Hi Team, I was looking at slack integration for notifications. The docs: https://docs.prefect.io/core/advanced_tutorials/slack-notifications.html#using-your-url-to-get-notifications says to save the slack url in the
~/.prefect/config.toml
file, is there any other way like environment variable or something?
l
Hi Amit, you should be able to use this env variable to pass the webhook URL
PREFECT__CONTEXT__SECRETS__SLACK_WEBHOOK_URL
a
Awesome, thanks!
Also, is there a documentation page regarding all the environment variables?
l
Not sure, but whatever you can use in the
config.toml
you can also use as env variable with that underscore notation. You can read more here: https://docs.prefect.io/core/concepts/configuration.html#environment-variables
🚀 2
upvote 3
a
Oh I see, thanks! 👍