Start guide
Connect sources, review matches, save a segment, send activity to Slack, and connect your agent.
This guide explains how to set up an empty workspace. Source connections and Slack posting require the owner role.
Create a workspace first on a new self-hosted installation:
ocmgr workspace create --name "My community" --json
export OCMGR_WORKSPACE=<workspaceId>
ocmgr admin user create --email [email protected]
Replace <workspaceId> with the ID returned by workspace create. The last command creates the first owner and displays a sign-in link.
For Docker commands and workspace selection, see CLI.
Connect two sourcesImport accounts from two services your community uses
Matching compares accounts across sources. Suitable sources include the Slack app, GitHub, and your forum.
- Open Sources.
- Select Connect a source.
- Select a source.
- Follow the instructions under What to do.
- Enter the required values under Connection details.
- Press Verify.
- Repeat these steps for the second source.
Press Connect for a source that requires sign-in. Approve Datum in the new window.
Then import each source’s history:
- Select View this source →, or open the source from Sources.
- Press Run now. Datum imports the source’s history in the background and matches accounts as they arrive.
- Check the Runs tab until the run finishes.
Some sources have no Run now. A webhook source has nothing to import: records arrive as the service sends them. A Slack export imports when you upload the ZIP, and a CSV uploaded from your browser when you press Import rows.
From your terminal or agent instead, list the connections and start each import:
ocmgr connection list --json ocmgr ingest <connectionId>Your agent can start the same import with
run_backfill.Done whenSources shows an account count for each source, and Members lists peopleClear the review queueReview pairs that Datum cannot link automatically
Datum links accounts automatically when strong evidence identifies the same person. Other possible matches require your review.
- Open Members → Review & merge in the sidebar.
- Choose Score floor → Only 90% and up.
- Review the evidence for each pair.
The number beside Review & merge shows how many pairs need review.
Use these keys to review each pair:
Key Instruction M Merge accounts that belong to the same person. N Mark accounts that belong to different people. S Skip the pair. J Open the next pair. K Open the previous pair. E Show the score explanation. From the terminal, read the first pair above the same score floor, then decide it by position:
ocmgr review list --min-score 0.9 --limit 1 ocmgr review decide --rank 1 --min-score 0.9 --merge --reason "Same person"Use
--not-sameor--skipfor the other decisions. Read the queue again before each decision. Positions refer to the current queue, and they change as people review it.You can reverse every decision. The member’s page includes controls to undo a merge.
Done whenNo pairs with scores above 90% remain openSave a segmentSave a filter that updates membership automatically
A segment can use a saved filter. Datum updates its membership as people meet or stop meeting the conditions.
Mock data. Cropped view of a segment's filter, member count, and membership changes. Open full-size image · View full screen - Open Members.
- Filter the list with a view tab, such as Active 90d, or the Filter menu: Source, Tag, Organization or Advanced filter….
- Press Save as segment.
- Check the people that the form selects. The form leaves your team out of the segment.
- Enter a Name.
- Enter the purpose under What it is for.
- Press Save.
You can also create a segment from Segments → New segment. A segment without a filter contains only people you add manually.
Done whenSegments lists your segment, and its Members tab lists the matching peopleRoute to SlackSend community activity to a Slack channel
Routing requires a Slack app connection. A Slack export cannot post messages.
- Invite the app to the channel with
/invite @Datum. - Open Settings → Routing.
- Select New rule.
- Read the When sentence. Keep its first choice as someone in the community to exclude your staff.
- Select the event, or keep does anything.
- Select the source after on, or keep any source.
- Select the channel under Post to, and the Slack connection after in.
- Check the automatic Name.
- Press Send a test.
- Check the test card in Slack.
- Turn on the rule’s switch in the list.
Send a test saves the rule with delivery disabled. You can change the automatic name before saving.
Cards identify the person and their activity. They exclude email addresses and message text.
Done whenThe channel receives the test card, and the rule shows as enabled- Invite the app to the channel with
Add Datum to your agentAsk your agent questions about your community
Each workspace has an MCP address. Your agent uses your account permissions.
- Open Settings → Access.
- Find Agents & connectors.
- Press Connect an agent.
- Press Copy URL.
For Claude.ai:
- Open Settings → Connectors → Add custom connector.
- Paste the URL.
- Sign in when the agent requests authentication.
Run this command for Claude Code:
claude mcp add --transport http ocmgr <url>Sign in when Claude Code requests authentication. The consent page identifies the workspace, agent, and requested permissions.
Ask your agent: “Who were our most active community members this month, excluding our team?”
A self-hosted installation needs sign-in configuration and an
httpspublic address for remote access. Without these, connect a local agent withocmgr mcp.Done whenYour agent lists Datum tools and answers a community question
