Setup guide
This guide walks you through setting up Ogma from scratch. No prior experience with Discord bots is required.
When you are done, your server will have:
- A ticket panel — buttons users click to open private support channels
- Staff channels — where transcripts, escalations, and learned tips go
- An AI assistant — Ogma replies in tickets using your documentation (once you add it)
Time needed: about 10–15 minutes for the Discord setup, plus time to add your docs.
Before you start
You need:
| Requirement | Why |
|---|---|
| Manage Server on your Discord server | Only server admins (or people they trust) can run setup commands |
| Permission to add a bot to the server | You will click “Add to Discord” on the Ogma website |
| (Recommended) A second Discord account or a friend | To test opening a ticket as a regular user |
You do not need to use the website dashboard to get started. Everything in Paths 1 and 2 below happens in Discord.
Pick your path
Answer one question:
Does your server already have support channels (for example
#support,#tickets, or categories for different ticket types)?
| Your answer | Follow this path |
|---|---|
| No — we are starting fresh | Path 1: New server |
| Yes — we already run support in Discord | Path 2: Existing channels |
| I prefer the website for all settings | Path 3: Dashboard setup |
Most beginners should use Path 1.
Path 1: New server (recommended)
Step 1: Add Ogma to your server
- Go to ogma.gg.
- Click Add to Discord (or use the invite link in the dashboard if you are already signed in).
- Choose the server you want to set up.
- On the permissions screen, leave the suggested permissions enabled. Ogma needs them to create channels, send messages, and post the ticket panel.
- Click Authorize.
Success check:
- Ogma appears in your server’s member list (status should be online).
- If your server has a system messages channel, Ogma may post a short welcome there with setup hints.
If something went wrong: make sure you have “Manage Server” on that Discord server. Only admins (or roles with that permission) can add bots.
Step 2: Open the setup command
- In Discord, go to any text channel where you can type (for example
#general). - Type
/to open the slash command menu. - Start typing
ogma-configand select/ogma-config setup. - Press Enter.
Success check: a popup form titled “Ogma Support Setup” appears.
If the command does not show up:
- Wait a minute and try again (new commands can take up to an hour to appear globally, but usually show up within a few minutes).
- Make sure you typed
/in a channel, not in a DM. - Confirm Ogma is online in the member list.
Step 3: Fill in the setup form
Each field is explained below. The form is pre-filled with sensible defaults, so you can leave most fields as they are.
Ticket types
What it means: which kinds of support buttons users will see on the panel.
What to type: comma-separated names from this list:
| Type name | Button label | Good for |
|---|---|---|
customer | Customer Support | General help |
technical | Technical Support | Bugs and technical issues |
billing | Billing Support | Payments and invoices |
sales | Sales Support | Pricing and purchases |
Example: customer, technical (this is the default)
You can start with just customer if you want to keep it simple. You can add your own custom ticket types later in the dashboard.
Start channel name
What it means: the name of the channel where the ticket panel (buttons) will live.
What to type: a short name using letters, numbers, and hyphens.
Example: start-support (the default is fine)
Ogma will create this channel for you, or reuse it if a channel with that name already exists. Tell your community: “Open a ticket in #start-support.”
Staff role names
What it means: which Discord roles can see all tickets and manage support.
What to type: the names of your staff roles, separated by commas, as they appear in Server Settings → Roles. Capitals do not matter.
Example: Support, Moderator
How to find role names:
- In Discord, click your server name → Server Settings.
- Open Roles.
- Copy the names of roles that should handle tickets.
If none of the names match a role, the form shows an error with some role names from your server to try.
Tip: leave this blank only if you will add staff roles later in the dashboard (Settings → Team & bot handoff, see Settings). Tickets will still work, but staff may not see them until roles are configured.
Auto-learn from tickets
What it means: when a ticket that staff helped with is closed, Ogma extracts a short tip and adds it to the knowledge base straight away. By default the ticket needs at least one staff message and at least 5 messages in total. You can remove unwanted tips in #learned-tips or the dashboard.
What to type: yes or no
Recommendation: yes for most teams.
Transcript retention (days)
What it means: how long closed ticket transcripts are kept.
What to type: one of these numbers (depends on your plan):
| Value | Meaning | Plans |
|---|---|---|
30 | Keep for 30 days | All plans (the maximum on Free and Basic) |
60 or 90 | Longer retention | Plus, Enterprise |
0 | Keep forever (unlimited) | Enterprise only |
The form shows your current setting (30 on a new server). If you enter a value your plan does not allow, Ogma saves the longest retention your plan allows instead. You can upgrade later under Billing.
Step 4: Submit the form
- Click Submit at the bottom of the form.
- Wait a few seconds. Ogma will create channels and post the ticket panel.
Success check: you see a private reply (only you can see it) that says support channels were created, with links to the start channel and staff area.
What Ogma creates:
| Channel / category | Purpose |
|---|---|
Ogma Support category with #start-support (or your chosen name) | Ticket panel with buttons |
| A category per ticket type, for example Customer Support Tickets | Private channels appear here when users open tickets |
| Ogma Staff category, visible to staff roles only, containing: | |
#ticket-transcripts | Closed ticket logs |
#staff-review | Escalated tickets for staff |
#learned-tips | Tips Ogma learned from resolved tickets |
Step 5: Confirm everything worked
Run this command in Discord:
/ogma-config viewYou should see:
- A linked start channel
- At least one enabled ticket type
- The line “Support is linked and ready for tickets.” (or clear next steps if something is missing)
Then open your start channel in the channel list. You should see a message from Ogma with buttons like Customer Support and Technical Support.
If you see a permissions error: Ogma needs Manage Channels on its bot role.
- Go to Server Settings → Roles.
- Find the Ogma role (or whichever role the bot uses).
- Turn on Manage Channels, View Channels, Send Messages, Read Message History, and Embed Links.
- Run
/ogma-config setupagain.
More fixes: Troubleshooting.
Step 6: Add documentation (so Ogma can answer questions)
Ogma searches your content before replying. Without docs, it can still open tickets and escalate to staff, but AI answers will be limited.
Easiest options:
| Method | Where | Best for |
|---|---|---|
| Upload, paste, or sync a URL or GitHub repo | Dashboard → Knowledge base | FAQs, policies, guides, docs sites |
| Quick note | Discord: /ingest content:Your text here (needs Manage Server) | One-off answers you want immediately |
After adding content:
- Open Knowledge playground in the dashboard sidebar (under AI & knowledge).
- Ask a real question the way your users would.
- Check that the answer is correct, and open Sources to see which docs and tips Ogma used.
Step 7: Test the full flow
Use a non-staff account (a second Discord account or a friend):
- Go to the start channel and click a ticket type button.
- A private channel opens — only that user and staff should see it.
- Ask a question that is answered in your docs.
- Confirm Ogma replies.
- Click Request human if you want to test escalation.
Then as staff:
- Reply in the ticket channel.
- Run
/closein that channel and pick a reason (for example Resolved). - Confirm a transcript appears in
#ticket-transcripts. - Confirm the user gets a rating DM (👍 Helpful / 👎 Not helpful / Skip). On Free and Basic, the user is also sent a copy of the transcript.
You are done with Path 1
Before announcing support to your community, work through the launch checklist.
Path 2: Existing channels
Use this if you already have channels like #support, #ticket-transcripts, or ticket categories, and you do not want Ogma to create new ones.
Step 1: Add Ogma to your server
Same as Path 1, Step 1.
Step 2: Link your existing channels
- In any text channel, run:
/ogma-config link- Ogma scans your server for common channel and category names.
Names Ogma looks for (examples):
| Purpose | Example channel / category names |
|---|---|
| Ticket panel | #support, #tickets, #start-support |
| Transcripts | #ticket-transcripts, #transcripts |
| Staff review | #staff-review, #escalations |
| Tips | #learned-tips, #tips |
| Ticket categories | Customer Support Tickets, or categories containing “support” / “billing” / “technical” |
Success check: Ogma replies with a list of what it linked. If it found a start channel, the ticket panel is posted there automatically.
Channels already inside a linked ticket category are adopted as open tickets, so Ogma tracks conversations that were in progress before you added it.
Step 3: Handle partial matches
If Ogma links some channels but not all, the reply lists what is still missing.
| Situation | What to do |
|---|---|
| Missing a few channels | Run /ogma-config setup to create only what is missing, or rename your channels to match the examples above and run /ogma-config link again |
| Names are very custom | In the dashboard, open Settings → Channels and map them by hand under Channel mapping, then click Save & apply |
| Nothing was found | Use Path 1 instead |
Run /ogma-config view to see current status and next steps.
Step 4: Add docs and test
Same as Path 1, Step 6 and Step 7.
Path 3: Dashboard setup (advanced)
Use the website if you want finer control (custom ticket types, business hours, voice prompt, etc.) before touching Discord.
Overview
- Sign in with Discord and select your server.
- Configure your server using either:
- Setup wizard — open Overview and follow the guided flow (or click the “Your server setup isn't finished yet” banner). Choose Create new channels or Use existing channels, pick ticket types from a preset, and choose staff roles. On the create path, the wizard's Create channels step can build everything in Discord for you, so you do not need a command.
- Settings — open Settings directly for full control. See Settings for every section.
- If you changed ticket types, staff roles, or categories in Settings, apply them to Discord. Either run this in Discord:
/ogma autoconfigor click Create channels now under Settings → Channels → Setup tools. Both create or update channels and the ticket panel from your saved settings.
Important: saving in Settings alone does not change Discord. Apply structural changes (ticket types, staff roles, categories) with one of the options above.
If you already have channels and do not want new ones created, use Channel mapping in Settings → Channels (or the wizard's Use existing channels path) instead.
Quick reference
| I want to… | Run this in Discord |
|---|---|
| Set up a new server from scratch | /ogma-config setup |
| Connect channels we already have | /ogma-config link |
| Check if setup is complete | /ogma-config view |
| Apply dashboard changes to Discord | /ogma autoconfig |
| Add a quick FAQ snippet | /ingest content:… |
All of these commands require Manage Server.
Full command list: Discord commands.
Common problems
| Problem | Fix |
|---|---|
| “You need Manage Server permission” | Ask a server admin to run the command, or grant yourself Manage Server in Server Settings → Roles |
| Ogma lists missing permissions | Server Settings → Roles → Ogma → enable Manage Channels and the other listed permissions |
/ogma-config link found nothing | Your channel names may not match common patterns — use Path 1 (setup) or Channel mapping in dashboard Settings → Channels |
| No ticket panel in the start channel | Run /ogma-config view. If status is not ready, run setup or link again |
| Ogma does not answer in tickets | Add content in Knowledge base, then test in Knowledge playground. See Troubleshooting |
What to do next
- Launch checklist — verify everything before you go live
- How tickets work — what users and staff see day to day
- Knowledge — build out your documentation
