🦷 ToothFairy Multi-Tenant Slack Bot

This bot supports multiple separate Slack organizations.

Setup for Each Business:

  1. Create Slack App at api.slack.com/apps
  2. Choose a unique tenant ID (e.g., "acme", "widget")
  3. Register tenant:
    curl -X POST http://slack.toothfairyai.com/admin/tenants \
      -H "Content-Type: application/json" \
      -d '{{"tenant_id": "acme", "signing_secret": "your-slack-signing-secret"}}'
  4. Configure Slack App:
  5. Configure in Slack:
    /tfconfig workspace <id> <token>
    /tfconfig token <bot-token>
    /tfconfig add casual <agent-id>

Endpoints: