Slack integration

Decisions in Slack become
memory for your agents

Every decision your team makes in Slack — which database to use, what API to build, why you chose one approach over another — instantly becomes shared memory for every AI agent in your company.

01
Create a Slack app
Go to api.slack.com/apps → Create New App → From scratch. Name it "Primer" and select your workspace.
02
Add a slash command
In your Slack app → Features → Slash Commands → Create New Command.
Command: /primer Request URL: https://www.getprimer.cloud/api/slack/events Description: Primer company AI memory Hint: learn | search | brain
03
Enable events (optional — for passive capture)
Features → Event Subscriptions → Enable. Set Request URL to the same endpoint. Subscribe to bot events: message.channels, message.groups.
Request URL: https://www.getprimer.cloud/api/slack/events
04
Get your credentials
Basic Information → Signing Secret (copy it). OAuth & Permissions → Install to Workspace → copy Bot User OAuth Token.
05
Connect Primer
Get your Primer API key from the dashboard. Then run this slash command in any Slack channel:
/primer setup pk_live_your_api_key_here
Slash commands
/primer learn We use Postgres for our main DB
Store a decision — all agents know instantly
/primer search database
Search your company memory
/primer brain
See recent memory
Auto-capture — no command needed

Messages containing these patterns are captured automatically:

primer: We chose Stripe over Paddle for payments
decision: Auth will use Supabase SSR going forward
We decided to use Tailwind for the new dashboard
Ready to connect?

Get your API key from the dashboard, then follow the steps above.

Go to Dashboard →