Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up the Slack resource in Python.
aiohttp
import os from mirage import MountMode, Workspace from mirage.resource.slack import SlackConfig, SlackResource config = SlackConfig( token=os.environ["SLACK_BOT_TOKEN"], search_token=os.environ.get("SLACK_USER_TOKEN"), ) resource = SlackResource(config=config) ws = Workspace({"/slack/": resource}, mode=MountMode.READ)
token
xoxb-...
search_token
xoxp-...
search:read