Docs > Getting started
Dex quickstart
# Dex quickstart Get your first grounded workflow running in Dex by connecting one source, verifying the output interactively, and then turning the repeatable pieces into a skill and an automation. ## Prerequisites - A Dex account with access to a workspace (sign in with your work account). - At least one external tool you want to connect, such as Gmail, Slack, Linear, or Attio. ## 1. Open Dex and connect a source Sign in to the web app (Nexus) to manage integrations, ontology, and durable resources—or install the Chrome extension when you want an agent alongside the page in front of you. 1. Open **Connectors** (or **Apps**) and select a provider such as Slack or Gmail. 2. Complete the OAuth authorization flow for the account you want Dex to use. 3. Choose which capabilities to enable: - **Tools** let agents read from or act in the connected app. - **Context indexing** syncs selected channels, labels, or folders into your workspace's [knowledge graph](/context/knowledge-graph/). Empty selections index nothing, so select at least one channel, label, or folder if you want context indexing enabled. :::tip Start with one high-signal source (for example, your primary email inbox or one active team Slack channel) before indexing every channel across the company. ::: ## 2. Run a grounded task Start a chat in Nexus or the Chrome extension with a request that names the **source**, the **output format**, and the **write boundary**: > Check my recent Slack messages and Gmail threads about the Q4 renewal for Acme Corp. Summarize open commitments and draft a follow-up email. Do not send it. Inspect what Dex pulls in: - When context indexing is active, Dex checks structured records and timelines in the knowledge graph first, then calls live integration tools to fill gaps. - Before running a consequential write, Dex pauses and asks for your approval. ## 3. Turn repeated instructions into a skill Once you have a prompt structure you want to reuse—such as a weekly account brief or meeting follow-up format—save it as a [skill](/agents/skills/). Ask Dex in chat: > Save that account brief format as a personal skill named `account-brief` with the sections we just used. Dex creates `users/<you>/skills/account-brief/SKILL.md` in [Factory](/factory/), previews the change, and publishes it after you confirm. From that point on, any chat or agent run can invoke `/account-brief` (or load it automatically when relevant). ## 4. Automate the workflow When the procedure works reliably on demand, move it into a scheduled [agent](/agents/) and [automation](/automations/): 1. Define the standing role and write policy in `AGENT.md` (keep `requireWriteApproval: true` so outgoing emails or CRM updates arrive as reviewable pending action cards). 2. Add a schedule or manual trigger in `automations/<name>.md` with the per-run task. 3. Preview and publish the change, then trigger a manual run and inspect the completed run log and any pending action cards before relying on the schedule. ## 5. Share with your team (optional) If teammates should run the same workflow using **their own** connected accounts: - Publish the skill to `workspace/skills/` so teammates can link and use it, or - Create a [shared agent](/agents/shared-agents/) under `workspace/agents/` and share it with specific teammates, a Space, or the workspace. Each teammate connects their own apps and turns it on—no credentials are ever shared. ## Next steps - [Core concepts](/getting-started/core-concepts/) - Understand what belongs in agents, skills, ontology, knowledge graph, and Factory - [Shared agents](/agents/shared-agents/) - Set up a team workflow with per-member credentials or coordinator mode - [Ontology](/context/ontology/) - Define custom Object types and source mappings for your workspace - [Factory definition as code](/factory/workspace-structure/) - Inspect the exact file layout and schemasConnect a work source, run a grounded agent task, save a repeatable skill, and launch a verified automation in Dex.
Get your first grounded workflow running in Dex by connecting one source, verifying the output interactively, and then turning the repeatable pieces into a skill and an automation.
Prerequisites
Section titled “Prerequisites”- A Dex account with access to a workspace (sign in with your work account).
- At least one external tool you want to connect, such as Gmail, Slack, Linear, or Attio.
1. Open Dex and connect a source
Section titled “1. Open Dex and connect a source”Sign in to the web app (Nexus) to manage integrations, ontology, and durable resources—or install the Chrome extension when you want an agent alongside the page in front of you.
- Open Connectors (or Apps) and select a provider such as Slack or Gmail.
- Complete the OAuth authorization flow for the account you want Dex to use.
- Choose which capabilities to enable:
- Tools let agents read from or act in the connected app.
- Context indexing syncs selected channels, labels, or folders into your workspace’s knowledge graph. Empty selections index nothing, so select at least one channel, label, or folder if you want context indexing enabled.
2. Run a grounded task
Section titled “2. Run a grounded task”Start a chat in Nexus or the Chrome extension with a request that names the source, the output format, and the write boundary:
Check my recent Slack messages and Gmail threads about the Q4 renewal for Acme Corp. Summarize open commitments and draft a follow-up email. Do not send it.
Inspect what Dex pulls in:
- When context indexing is active, Dex checks structured records and timelines in the knowledge graph first, then calls live integration tools to fill gaps.
- Before running a consequential write, Dex pauses and asks for your approval.
3. Turn repeated instructions into a skill
Section titled “3. Turn repeated instructions into a skill”Once you have a prompt structure you want to reuse—such as a weekly account brief or meeting follow-up format—save it as a skill.
Ask Dex in chat:
Save that account brief format as a personal skill named
account-briefwith the sections we just used.
Dex creates users/<you>/skills/account-brief/SKILL.md in Factory, previews the change, and publishes it after you confirm. From that point on, any chat or agent run can invoke /account-brief (or load it automatically when relevant).
4. Automate the workflow
Section titled “4. Automate the workflow”When the procedure works reliably on demand, move it into a scheduled agent and automation:
- Define the standing role and write policy in
AGENT.md(keeprequireWriteApproval: trueso outgoing emails or CRM updates arrive as reviewable pending action cards). - Add a schedule or manual trigger in
automations/<name>.mdwith the per-run task. - Preview and publish the change, then trigger a manual run and inspect the completed run log and any pending action cards before relying on the schedule.
5. Share with your team (optional)
Section titled “5. Share with your team (optional)”If teammates should run the same workflow using their own connected accounts:
- Publish the skill to
workspace/skills/so teammates can link and use it, or - Create a shared agent under
workspace/agents/and share it with specific teammates, a Space, or the workspace. Each teammate connects their own apps and turns it on—no credentials are ever shared.
Next steps
Section titled “Next steps”- Core concepts - Understand what belongs in agents, skills, ontology, knowledge graph, and Factory
- Shared agents - Set up a team workflow with per-member credentials or coordinator mode
- Ontology - Define custom Object types and source mappings for your workspace
- Factory definition as code - Inspect the exact file layout and schemas