Let Craft read and act as each user in Slack, Gmail, Notion, and other applications
In Onyx 5.0, Craft Apps moved from Admin Panel → Craft → Apps to Admin Panel → Plugins.
See Where things moved.
A Craft App is a catalog of API endpoints for one application, such as Slack or Gmail.
Each user connects their own account. Craft then calls the application’s API as that user.Craft can only reach content that the connected account can access in the application.Admins add Craft Apps in Admin Panel → Plugins. Users connect their accounts in Plugins in Craft or Chat.
Craft Apps work only in Craft. Main Chat does not support them.
To give Chat access to the same application, add an MCP server for it.
Search messages, read channels and threads, post a message or a thread reply, open a direct message, upload files.
Gmail
Read messages, threads, and attachments. Manage labels and drafts. Send or trash messages.
Google Calendar
Read calendars, events, and free/busy times. Create, update, and delete events.
Google Drive
Read, create, edit, and delete files, Google Docs, Sheets, and Slides. List shared drives.
Notion
Search and read pages, databases, and comments. Create and update pages, blocks, and databases. Add comments.
Linear
Read teams, issues, and projects. Create issues and projects, edit projects, and comment on issues.
GitHub
Read repositories, issues, pull requests, files, and commits that the user can access. Create issues, comment, change files and branches, and open pull requests.
HubSpot
Read and search owners, contacts, companies, and deals. Create or update contacts, companies, and deals.
Zendesk
Search, read, create, update, and delete tickets. Read ticket metrics and users. Manage Help Center content, side conversations, and macros.
Each built-in App defines its actions, such as Read messages or Post a message.
Admins set an approval policy for each action. See Set action policies.A custom App gives Craft credentials and network access for any other public HTTP API.
The scheme, host, and path must match exactly. Onyx builds the URI from WEB_DOMAIN.
See Provider setup for each provider.
2
Set the configuration
Go to Admin Panel → Plugins, click Add, select Craft Apps, then select the provider.
On the Configuration tab, set:
Setting
Effect
Enable for Craft
Makes the App available in Craft.
Let users manage approval settings
Lets users change approval policies for actions that you did not disable.
3
Enter the provider credentials
On the Authentication tab, follow the setup instructions, then enter the client ID and client secret.
Onyx does not ask for a user’s access token. Each user signs in later.
4
Review action policies
On the Tools tab, set a policy for each action. Review every write, send, delete, and publish action.
5
Add the App
Click Add. Onyx then asks you to add skills to the App. You can skip this step.
See Skills for Apps.
6
Test as a user
Connect a test account from the Plugins page.
Test one read and one write.
On Onyx Cloud, Onyx manages the OAuth applications for built-in Apps. You do not enter client credentials.You can add one instance of each built-in provider.
Craft acts with a user token; no bot user is required.
Copy the Client ID and Client Secret from the Slack app’s basic information.
Google Calendar
In Google Cloud Console, create or select a project, enable the Google Calendar API,
configure the OAuth consent screen, and create an OAuth 2.0 Client ID of type Web application.
Add the Onyx redirect URI under Authorized redirect URIs. Craft requests full Google Calendar access.
Google Drive
In Google Cloud Console, enable both the Google Drive API and Google Docs API,
configure the OAuth consent screen, and create an OAuth 2.0 Web application client with the Onyx redirect URI.
Craft requests the full Drive scope so it can read, create, edit, and delete files;
action policies govern those operations inside Craft.
Gmail
In Google Cloud Console, enable the Gmail API, configure the OAuth consent screen,
and create an OAuth 2.0 Web application client with the Onyx redirect URI. Craft requests gmail.modify,
which covers reading, labels, drafts, trash, and sending but not permanent message deletion.
Linear
In Linear, open Settings → API → OAuth applications, create an OAuth application,
and add the Onyx redirect URI to its callback URLs. Craft requests user-acting read and write access for issues,
projects, and comments.
GitHub
In GitHub, open Settings → Developer settings → OAuth Apps, create an OAuth App,
and use the Onyx redirect URI as its authorization callback URL. Craft requests repo, read:org, and read:user;
the repo scope includes repositories the connecting user can access, including private repositories.
HubSpot
From a HubSpot developer account, create an app and add the Onyx redirect URI on its Auth tab.
Configure read access for owners, contacts, companies, and deals. Contact, company,
and deal write scopes are optional so read-only HubSpot accounts can still connect.
Notion
Create a Public integration from Notion’s integrations settings and add the Onyx redirect URI under OAuth
Domain & URIs. Choose the integration’s read and write capabilities in Notion;
Notion controls capabilities there rather than through OAuth scopes.
Zendesk
In Zendesk, open Admin Center → APIs → OAuth clients and add a client. Set Client kind to Confidential.
Onyx uses PKCE together with the client secret. Add these allowed scopes:
Allow all of the scopes, even if you do not use every feature. Set the redirect URL to the Onyx redirect URI.
Copy the secret when Zendesk shows it. Zendesk shows it only once. In Onyx, enter your Zendesk subdomain,
the client’s Unique identifier, and the secret.
The subdomain selects the Zendesk account that the app can access. If you change the allowed scopes,
each user must connect Zendesk again.
Each action in a built-in App has one workspace policy:
Policy
Effect
Typical use
Auto-approve
Craft runs the action without a prompt.
Narrow, low-risk reads
Ask
Craft stops before the request and shows the user an approval card.
Sends, creates, edits, and broad reads
Disabled
The proxy blocks the action. Users and scheduled tasks cannot override it.
Destructive or prohibited actions
Built-in Apps start with defaults: most reads are Auto-approve, and most changes are Ask.
If one request matches more than one action, the strictest policy applies: Disabled, then Ask,
then Auto-approve. A request that does not match a cataloged action uses Ask.
When an action uses Ask, the user can approve once, approve for the session, or reject.
Approve for session applies only to matching actions in that session. It does not change the workspace policy.If Let users manage approval settings is on, users can change the policy for their own account.
They cannot turn on an action that you set to Disabled.
A Scheduled Task runs without a user present,
so it cannot show an approval card.
The task owner enables the Apps that the task can use in the task’s Approval settings.
Each App starts with the owner’s current approval settings. Changes apply only to that task.
If Let users manage approval settings is off, the workspace policies apply to the task.
Task settings cannot override Disabled.
If a run reaches an action that needs approval, the run stops with the Awaiting approval status.
The owner must change the task’s approval settings, then run the task again.
Skills teach Craft how to use an App well,
for example which Slack channels to read first.
Open the App and select the Skills tab to add existing skills or create a new skill for the App.
Use a custom App for a public HTTP API that no built-in App covers.
A custom App gives Craft credentials and network access for the API. It does not have an action catalog.
1
Set the configuration
Go to Admin Panel → Plugins, click Add, select Craft Apps, then select Custom app.
Enter a Name and one or more Upstream URL patterns. Type each pattern and press Enter.
The proxy injects credentials only into requests that match these patterns.
2
Set the authentication
On the Authentication tab, add the headers that the proxy injects, such as Authorization: Bearer {api_key}.
Optionally, add Organization credentials for values that every user shares.Click Create. Then add skills that explain how to call the API.
For example:
Setting
Value
Upstream URL pattern
https://api.example.com/v1/*
Header
Authorization
Header value
Bearer {api_key}
Organization credential
api_key = a shared service token. Leave it empty to let each user enter a token.
Custom Apps use URL globs. Each pattern must start with http:// or https://, and its host must be literal.
Wildcards are allowed only after the host.
# Recommended: one HTTPS host and a narrow pathhttps://api.example.com/v1/reports/*# Too broad: every path on the hosthttps://api.example.com/*# Invalid: wildcard in the hosthttps://*.example.com/*
Custom Apps cannot be used to reach private, loopback, link-local, cloud metadata,
or other non-public network addresses.
The sandbox proxy blocks internal destinations even when a URL pattern includes them.
Expose only a deliberately secured, publicly routable HTTPS endpoint if Craft must call a custom service.
Avoid overlapping URL patterns between Apps. When more than one App claims the same URL,
the lowest-ID App—usually the earliest created—is selected first.
A disabled App can still claim the match before credential availability is checked,
so do not rely on enablement to disambiguate overlapping patterns.
Add a value under Organization credentials when every user should use the same service identity.
Leave a placeholder without an organization value when each user should enter their own value when they connect the app.
You can also leave the header pattern empty for a public API that requires no credential.Raw organization and user credentials are encrypted in Onyx-controlled storage.
They are not copied into the custom bundle or sandbox workspace. After a request passes its gate,
the sandbox proxy injects the rendered headers on the way out.
A custom App has no action catalog. Every request that matches its URL patterns requires approval.
You cannot set a custom App request to Auto-approve or Disabled. To stop all use of a custom App,
turn off Enable for Craft.
Confirm the OAuth client ID and secret, the exact redirect URI, the enabled API or integration capabilities,
and the required scopes.
Check whether the provider’s consent screen is limited to approved test users or workspace members.
An enabled app does not appear to users
Confirm that Enable for Craft is on and that the user has Craft access.
A user connected successfully but an action is blocked
Check the action’s admin policy and the scopes or capabilities granted by the external account.
A Disabled policy cannot be overridden.
An Ask request can also fail if the user rejects it or the approval expires.
A Scheduled Task is awaiting approval
Confirm that the task owner is still connected to the app and that the app is on in the task’s approval settings.
Then check for a Disabled policy, or a different app than the prompt was expected to use.
Correct the task and use Run now. The blocked run does not resume automatically.
Craft Apps for users
Connect accounts, guide Craft, and review approvals.
Craft architecture
Review egress controls, credential injection, and approval enforcement.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Onyx Documentation","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/danswer/TrJ0UalhtrxYEGaI/assets/logo/onyx_logo.svg?fit=max\u0026auto=format\u0026n=TrJ0UalhtrxYEGaI\u0026q=85\u0026s=7c6a59073e62a51c501463d3d7d79c42","dark":"https://mintcdn.com/danswer/TrJ0UalhtrxYEGaI/assets/logo/onyx_logo_inverted.svg?fit=max\u0026auto=format\u0026n=TrJ0UalhtrxYEGaI\u0026q=85\u0026s=4e38630166675e463d97d41929b6a99e","href":"https://onyx.app/"},"favicon":"https://mintcdn.com/danswer/TrJ0UalhtrxYEGaI/assets/logo/onyx_favicon.svg?fit=max\u0026auto=format\u0026n=TrJ0UalhtrxYEGaI\u0026q=85\u0026s=6ea820a642e7069f78fe8f46af23a81a","api":{"openapi":["developers/api_reference/openapi.json"]},"navbar":{"links":[{"icon":"github","href":"https://github.com/onyx-dot-app/onyx","label":"onyx-dot-app/onyx"}],"primary":{"type":"button","label":"Onyx Cloud","href":"https://cloud.onyx.app/?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/onyx-dot-app/onyx","twitter":"https://x.com/onyx_dot_app","linkedin":"https://linkedin.com/company/onyx-dot-app"}},"seo":{"metatags":{"keywords":"enterprise search, onyx ai, onyx, open source ai, enterprise ai, generative ai platform, ai assistant, knowledge management, danswer"}},"integrations":{"posthog":{"apiKey":"phc_ghlrcfXpgWq9XxZeVMfoJpfaISgFGoXhHYOEcBwdulK","apiHost":"https://us.i.posthog.com"}},"banner":{"content":"**Permissions update:** Onyx now uses group-based permissions. [Understand permissions](/admins/permissions/understanding_permissions) or [review migration details](/admins/permissions/whats_changing)","dismissible":true},"contextual":{"options":[],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://onyx.app/"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/TDJ59cGV2X"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"danswer","hasAudioNarration":false,"actualSubdomain":"danswer","customDomains":["docs.onyx.app"],"gitSource":{"type":"github","owner":"onyx-dot-app","repo":"onyx","deployBranch":"docs/live","contentDirectory":"documentation","isPrivate":false,"mountPath":"","label":"","_id":"6ae27ebc5efec986e272d162"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aea074c2d9111c67b18a97e","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Developers","count":161},{"language":"default","tag":"API Reference","count":153},{"language":"default","tag":"Admins","count":129},{"language":"default","tag":"Connectors","count":93},{"language":"default","tag":"Supported Connectors","count":69},{"language":"default","tag":"Connectors \u0026 Credentials","count":38},{"language":"default","tag":"Deployment","count":36},{"language":"default","tag":"Overview","count":27},{"language":"default","tag":"Managing Features","count":19},{"language":"default","tag":"Projects \u0026 Files","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".rounded-image{border-radius:1rem;margin:8px auto;display:block}.prose table,table{display:table;width:100%;max-width:100%;table-layout:auto}.prose table th{text-align:left!important}.icon-dark-invert [data-component-part=\"card-icon\"] img{background:transparent!important}.dark .icon-dark-invert [data-component-part=\"card-icon\"] img{filter:invert(1)!important}.docs-image-placeholder{align-items:center;background:repeating-linear-gradient(\n 45deg,\n rgba(0, 105, 237, 0.08),\n rgba(0, 105, 237, 0.08) 12px,\n rgba(0, 105, 237, 0.14) 12px,\n rgba(0, 105, 237, 0.14) 24px\n );border:1px dashed rgba(0, 105, 237, 0.55);border-radius:0.75rem;color:#0050b4;display:flex;font-weight:600;justify-content:center;margin:1rem 0;min-height:220px;padding:1.5rem;text-align:center}.dark .docs-image-placeholder{color:#9ec8ff}.permission-pyramid{display:flex;flex-direction:column;gap:0.5rem;margin:1.5rem auto;max-width:760px}.permission-pyramid-layer{align-items:center;border:1px solid rgba(0, 105, 237, 0.18);border-radius:0.75rem;display:flex;flex-direction:column;gap:0.2rem;margin:0 auto;padding:0.85rem 1rem;text-align:center}.permission-pyramid-layer span{font-size:0.9rem}.permission-pyramid-admin{background:#0b1f3a;color:#ffffff;width:100%}.permission-pyramid-org{background:#0050b4;color:#ffffff;width:82%}.permission-pyramid-scoped{background:#4d9cff;color:#07172b;width:62%}.permission-pyramid-basic{background:#eaf4ff;color:#07172b;width:42%}.permission-pyramid-limited{background:#f5f8fc;border-style:dashed;color:#37536f;width:26%}@media (max-width: 640px){.permission-pyramid-admin,.permission-pyramid-org,.permission-pyramid-scoped,.permission-pyramid-basic,.permission-pyramid-limited{width:100%}}"}],"page":{"pagePath":"admins/plugins/craft_apps","slug":"/admins/plugins/craft_apps","pageMetadata":{"title":"Craft Apps","description":"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications","icon":"hammer","href":"/admins/plugins/craft_apps"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`In Onyx 5.0, Craft Apps moved from `,_jsx(_components.strong,{children:`Admin Panel → Craft → Apps`}),` to `,_jsx(_components.strong,{children:`Admin Panel → Plugins`}),`.\nSee `,_jsx(_components.a,{href:`/admins/plugins/overview#where-things-moved-in-onyx-5`,children:`Where things moved`}),`.`]})}),`\n`,_jsx(_components.p,{children:`A Craft App is a catalog of API endpoints for one application, such as Slack or Gmail.\nEach user connects their own account. Craft then calls the application’s API as that user.`}),`\n`,_jsx(_components.p,{children:`Craft can only reach content that the connected account can access in the application.`}),`\n`,_jsxs(_components.p,{children:[`Admins add Craft Apps in `,_jsx(_components.strong,{children:`Admin Panel → Plugins`}),`. Users connect their accounts in `,_jsx(_components.strong,{children:`Plugins`}),` in Craft or Chat.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Craft Apps work only in `,_jsx(_components.a,{href:`/overview/core_features/craft`,children:`Craft`}),`. Main Chat does not support them.\nTo give Chat access to the same application, add an `,_jsx(_components.a,{href:`/admins/plugins/mcp`,children:`MCP server`}),` for it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-craft-apps-can-do`,children:`What Craft Apps can do`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`App`}),_jsx(_components.th,{children:`Examples`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Slack`})}),_jsx(_components.td,{children:`Search messages, read channels and threads, post a message or a thread reply, open a direct message, upload files.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Gmail`})}),_jsx(_components.td,{children:`Read messages, threads, and attachments. Manage labels and drafts. Send or trash messages.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Google Calendar`})}),_jsx(_components.td,{children:`Read calendars, events, and free/busy times. Create, update, and delete events.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Google Drive`})}),_jsx(_components.td,{children:`Read, create, edit, and delete files, Google Docs, Sheets, and Slides. List shared drives.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Notion`})}),_jsx(_components.td,{children:`Search and read pages, databases, and comments. Create and update pages, blocks, and databases. Add comments.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Linear`})}),_jsx(_components.td,{children:`Read teams, issues, and projects. Create issues and projects, edit projects, and comment on issues.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`GitHub`})}),_jsx(_components.td,{children:`Read repositories, issues, pull requests, files, and commits that the user can access. Create issues, comment, change files and branches, and open pull requests.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`HubSpot`})}),_jsx(_components.td,{children:`Read and search owners, contacts, companies, and deals. Create or update contacts, companies, and deals.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Zendesk`})}),_jsx(_components.td,{children:`Search, read, create, update, and delete tickets. Read ticket metrics and users. Manage Help Center content, side conversations, and macros.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Each built-in App defines its actions, such as `,_jsx(_components.strong,{children:`Read messages`}),` or `,_jsx(_components.strong,{children:`Post a message`}),`.\nAdmins set an approval policy for each action. See `,_jsx(_components.a,{href:`#set-action-policies`,children:`Set action policies`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.a,{href:`#custom-apps`,children:`custom App`}),` gives Craft credentials and network access for any other public HTTP API.`]}),`\n`,_jsx(Heading,{level:`3`,id:`craft-apps-compared-to-mcp-servers`,children:`Craft Apps compared to MCP servers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Craft App`}),_jsx(_components.th,{children:`MCP server`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Surfaces`}),_jsx(_components.td,{children:`Craft only`}),_jsx(_components.td,{children:`Chat, custom agents, and Craft`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`How Craft calls it`}),_jsx(_components.td,{children:`Craft sends HTTP requests to the provider API from its sandbox. The sandbox proxy adds the credentials.`}),_jsx(_components.td,{children:`Onyx calls MCP tools for the agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Approvals`}),_jsx(_components.td,{children:`A policy for each cataloged action`}),_jsx(_components.td,{children:`A policy for each MCP tool`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Credentials in the sandbox`}),_jsx(_components.td,{children:`Never. The proxy injects them on the way out.`}),_jsx(_components.td,{children:`Never. Onyx holds them.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Use it when`}),_jsx(_components.td,{children:`A built-in App exists for the application`}),_jsx(_components.td,{children:`No built-in App exists, or Chat also needs the tools`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Craft must be available. Craft is available on the `,_jsx(_components.strong,{children:`Business`}),` and `,_jsx(_components.strong,{children:`Enterprise`}),` plans.\nIf you self-host Onyx, first follow `,_jsx(_components.a,{href:`/deployment/local/craft`,children:`Deploying Craft`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Only full admins can add, edit, or delete Craft Apps. The `,_jsx(_components.strong,{children:`Manage Actions`}),` permission is not enough.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-a-built-in-app`,children:`Add a built-in App`}),`\n`,_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=4638f6363dbf34c308a0bd39cfcb456e`,alt:`The Craft Apps catalog with Slack, Google Calendar, Google Drive, Gmail, Linear, GitHub, HubSpot, Notion, Zendesk, and Custom app`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`assets/admins/plugins/craft_app_catalog.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=2530dccc7fc6208b02ca1a21a96c364f 280w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=0efce78e82d0e78f1d8d657792d033f4 560w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=643e3f2c0b8332a2d3b8aa5c4a99287c 840w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=84d2ff2d856db0c02e81b5f0b673c800 1100w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=c8b20edcd52288ee9e026655a99dac2e 1650w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_catalog.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=de3e057304f1e74ecde5c6d8713e2397 2500w`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create an OAuth application with the provider`,children:[_jsx(_components.p,{children:`On self-hosted Onyx, create an OAuth application in the provider. Use this redirect URI, with your Onyx domain:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://\u003cyour-onyx-domain>/craft/v1/apps/oauth/callback`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`The scheme, host, and path must match exactly. Onyx builds the URI from `,_jsx(_components.code,{children:`WEB_DOMAIN`}),`.\nSee `,_jsx(_components.a,{href:`#provider-setup`,children:`Provider setup`}),` for each provider.`]})]}),_jsxs(Step,{title:`Set the configuration`,children:[_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Admin Panel → Plugins`}),`, click `,_jsx(_components.strong,{children:`Add`}),`, select `,_jsx(_components.strong,{children:`Craft Apps`}),`, then select the provider.\nOn the `,_jsx(_components.strong,{children:`Configuration`}),` tab, set:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Enable for Craft`})}),_jsx(_components.td,{children:`Makes the App available in Craft.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Let users manage approval settings`})}),_jsx(_components.td,{children:`Lets users change approval policies for actions that you did not disable.`})]})]})]})]}),_jsxs(Step,{title:`Enter the provider credentials`,children:[_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Authentication`}),` tab, follow the setup instructions, then enter the client ID and client secret.\nOnyx does not ask for a user’s access token. Each user signs in later.`]}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=dd19617cb0611575b9d48897ca50fa49`,alt:`The Slack Authentication tab with setup instructions, Client ID, and Client Secret`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`assets/admins/plugins/craft_app_slack_auth.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=64493165dcc26f7156055f28c19949b5 280w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=51dffe3b8f88ca354b949461931cb55c 560w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=377e2329578e212139179976e3062de9 840w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=cf680df1105b295bffb13a67e11b62f6 1100w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=15e28c7e2373b766cd8972812d947233 1650w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_auth.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=de148b3346755f9e6ef20f490c5a9e2a 2500w`})]}),_jsxs(Step,{title:`Review action policies`,children:[_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Tools`}),` tab, set a policy for each action. Review every write, send, delete, and publish action.`]}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=ef622c6367912bb1eb7f83241074093e`,alt:`The Slack Tools tab with Auto-approve, Ask, and Disabled for each action`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`assets/admins/plugins/craft_app_slack_tools.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=0304c8be81f6c50167268fbfae3723be 280w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=fcf2ced15395fb3bf31f12c59297b34e 560w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=380115ad44bbc0b86cfbc26f0435bf87 840w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=e8eadfb9416071be0c056f19f412d01a 1100w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=25fbbcb28ea092c547d494946e2d48c9 1650w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_app_slack_tools.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=2e652b8062e34a09c857e05e05df43ff 2500w`})]}),_jsx(Step,{title:`Add the App`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add`}),`. Onyx then asks you to add skills to the App. You can skip this step.\nSee `,_jsx(_components.a,{href:`#skills-for-apps`,children:`Skills for Apps`}),`.`]})}),_jsx(Step,{title:`Test as a user`,children:_jsxs(_components.p,{children:[`Connect a test account from the `,_jsx(_components.a,{href:`/overview/core_features/craft_apps#connect-an-app`,children:`Plugins page`}),`.\nTest one read and one write.`]})})]}),`\n`,_jsx(_components.p,{children:`On Onyx Cloud, Onyx manages the OAuth applications for built-in Apps. You do not enter client credentials.`}),`\n`,_jsx(_components.p,{children:`You can add one instance of each built-in provider.`}),`\n`,_jsx(Heading,{level:`3`,id:`provider-setup`,children:`Provider setup`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Slack`,id:`slack`,children:[_jsxs(_components.p,{children:[`Create a Slack app and add the Onyx redirect URI under `,_jsx(_components.strong,{children:`OAuth \u0026 Permissions`}),`. Add these `,_jsx(_components.strong,{children:`User Token Scopes`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`channels:history`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`channels:read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`chat:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`files:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`groups:history`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`groups:read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`im:history`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`im:read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`im:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`search:read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`users:read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Craft acts with a user token; no bot user is required.\nCopy the Client ID and Client Secret from the Slack app’s basic information.`})]}),_jsx(Accordion,{title:`Google Calendar`,id:`google-calendar`,children:_jsxs(_components.p,{children:[`In Google Cloud Console, create or select a project, enable the `,_jsx(_components.strong,{children:`Google Calendar API`}),`,\nconfigure the OAuth consent screen, and create an OAuth 2.0 Client ID of type `,_jsx(_components.strong,{children:`Web application`}),`.\nAdd the Onyx redirect URI under `,_jsx(_components.strong,{children:`Authorized redirect URIs`}),`. Craft requests full Google Calendar access.`]})}),_jsx(Accordion,{title:`Google Drive`,id:`google-drive`,children:_jsxs(_components.p,{children:[`In Google Cloud Console, enable both the `,_jsx(_components.strong,{children:`Google Drive API`}),` and `,_jsx(_components.strong,{children:`Google Docs API`}),`,\nconfigure the OAuth consent screen, and create an OAuth 2.0 Web application client with the Onyx redirect URI.\nCraft requests the full Drive scope so it can read, create, edit, and delete files;\naction policies govern those operations inside Craft.`]})}),_jsx(Accordion,{title:`Gmail`,id:`gmail`,children:_jsxs(_components.p,{children:[`In Google Cloud Console, enable the `,_jsx(_components.strong,{children:`Gmail API`}),`, configure the OAuth consent screen,\nand create an OAuth 2.0 Web application client with the Onyx redirect URI. Craft requests `,_jsx(_components.code,{children:`gmail.modify`}),`,\nwhich covers reading, labels, drafts, trash, and sending but not permanent message deletion.`]})}),_jsx(Accordion,{title:`Linear`,id:`linear`,children:_jsxs(_components.p,{children:[`In Linear, open `,_jsx(_components.strong,{children:`Settings → API → OAuth applications`}),`, create an OAuth application,\nand add the Onyx redirect URI to its callback URLs. Craft requests user-acting read and write access for issues,\nprojects, and comments.`]})}),_jsx(Accordion,{title:`GitHub`,id:`github`,children:_jsxs(_components.p,{children:[`In GitHub, open `,_jsx(_components.strong,{children:`Settings → Developer settings → OAuth Apps`}),`, create an OAuth App,\nand use the Onyx redirect URI as its authorization callback URL. Craft requests `,_jsx(_components.code,{children:`repo`}),`, `,_jsx(_components.code,{children:`read:org`}),`, and `,_jsx(_components.code,{children:`read:user`}),`;\nthe `,_jsx(_components.code,{children:`repo`}),` scope includes repositories the connecting user can access, including private repositories.`]})}),_jsx(Accordion,{title:`HubSpot`,id:`hubspot`,children:_jsxs(_components.p,{children:[`From a HubSpot developer account, create an app and add the Onyx redirect URI on its `,_jsx(_components.strong,{children:`Auth`}),` tab.\nConfigure read access for owners, contacts, companies, and deals. Contact, company,\nand deal write scopes are optional so read-only HubSpot accounts can still connect.`]})}),_jsx(Accordion,{title:`Notion`,id:`notion`,children:_jsxs(_components.p,{children:[`Create a `,_jsx(_components.strong,{children:`Public`}),` integration from Notion’s integrations settings and add the Onyx redirect URI under `,_jsx(_components.strong,{children:`OAuth\nDomain \u0026 URIs`}),`. Choose the integration’s read and write capabilities in Notion;\nNotion controls capabilities there rather than through OAuth scopes.`]})}),_jsxs(Accordion,{title:`Zendesk`,id:`zendesk`,children:[_jsxs(_components.p,{children:[`In Zendesk, open `,_jsx(_components.strong,{children:`Admin Center → APIs → OAuth clients`}),` and add a client. Set `,_jsx(_components.strong,{children:`Client kind`}),` to `,_jsx(_components.strong,{children:`Confidential`}),`.\nOnyx uses PKCE together with the client secret. Add these allowed scopes:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`read`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`tickets:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`hc:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`side_conversations:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`macros:write`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Allow all of the scopes, even if you do not use every feature. Set the redirect URL to the Onyx redirect URI.\nCopy the secret when Zendesk shows it. Zendesk shows it only once. In Onyx, enter your Zendesk subdomain,\nthe client’s `,_jsx(_components.strong,{children:`Unique identifier`}),`, and the secret.\nThe subdomain selects the Zendesk account that the app can access. If you change the allowed scopes,\neach user must connect Zendesk again.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`set-action-policies`,children:`Set action policies`}),`\n`,_jsx(_components.p,{children:`Each action in a built-in App has one workspace policy:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Policy`}),_jsx(_components.th,{children:`Effect`}),_jsx(_components.th,{children:`Typical use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Auto-approve`})}),_jsx(_components.td,{children:`Craft runs the action without a prompt.`}),_jsx(_components.td,{children:`Narrow, low-risk reads`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Ask`})}),_jsx(_components.td,{children:`Craft stops before the request and shows the user an approval card.`}),_jsx(_components.td,{children:`Sends, creates, edits, and broad reads`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Disabled`})}),_jsx(_components.td,{children:`The proxy blocks the action. Users and scheduled tasks cannot override it.`}),_jsx(_components.td,{children:`Destructive or prohibited actions`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Built-in Apps start with defaults: most reads are `,_jsx(_components.strong,{children:`Auto-approve`}),`, and most changes are `,_jsx(_components.strong,{children:`Ask`}),`.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`If one request matches more than one action, the strictest policy applies: `,_jsx(_components.strong,{children:`Disabled`}),`, then `,_jsx(_components.strong,{children:`Ask`}),`,\nthen `,_jsx(_components.strong,{children:`Auto-approve`}),`. A request that does not match a cataloged action uses `,_jsx(_components.strong,{children:`Ask`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`user-approvals`,children:`User approvals`}),`\n`,_jsxs(_components.p,{children:[`When an action uses `,_jsx(_components.strong,{children:`Ask`}),`, the user can approve once, approve for the session, or reject.\n`,_jsx(_components.strong,{children:`Approve for session`}),` applies only to matching actions in that session. It does not change the workspace policy.`]}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.strong,{children:`Let users manage approval settings`}),` is on, users can change the policy for their own account.\nThey cannot turn on an action that you set to `,_jsx(_components.strong,{children:`Disabled`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`scheduled-tasks`,children:`Scheduled Tasks`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.a,{href:`/overview/core_features/craft_scheduled_tasks`,children:`Scheduled Task`}),` runs without a user present,\nso it cannot show an approval card.\nThe task owner enables the Apps that the task can use in the task’s `,_jsx(_components.strong,{children:`Approval settings`}),`.\nEach App starts with the owner’s current approval settings. Changes apply only to that task.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.strong,{children:`Let users manage approval settings`}),` is off, the workspace policies apply to the task.`]}),`\n`,_jsxs(_components.li,{children:[`Task settings cannot override `,_jsx(_components.strong,{children:`Disabled`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If a run reaches an action that needs approval, the run stops with the `,_jsx(_components.strong,{children:`Awaiting approval`}),` status.\nThe owner must change the task’s approval settings, then run the task again.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`skills-for-apps`,children:`Skills for Apps`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/admins/managing_features/craft_skills`,children:`Skills`}),` teach Craft how to use an App well,\nfor example which Slack channels to read first.\nOpen the App and select the `,_jsx(_components.strong,{children:`Skills`}),` tab to add existing skills or create a new skill for the App.`]}),`\n`,_jsx(Heading,{level:`2`,id:`custom-apps`,children:`Custom Apps`}),`\n`,_jsx(_components.p,{children:`Use a custom App for a public HTTP API that no built-in App covers.\nA custom App gives Craft credentials and network access for the API. It does not have an action catalog.`}),`\n`,_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=141b19cf8eec411d9745aa0a8c1a3e7c`,alt:`The Create custom app form with Name, Upstream URL patterns, Enable for Craft, and Let users manage approval settings`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`assets/admins/plugins/craft_custom_app.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=eefdc8aef6ebc24704634838251a9f8a 280w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=a9413df8df3ed70bb4b278a6cf9841cc 560w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=c6676fdabc58eaf7d1390ff9762f93d9 840w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=c0410ce752ec2177b7774cf60a9bea0b 1100w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=bb2c3de63638f19951a58e4d1115b64f 1650w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=d2abad80b32eb4225fdb1151b1b5f7e6 2500w`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Set the configuration`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Admin Panel → Plugins`}),`, click `,_jsx(_components.strong,{children:`Add`}),`, select `,_jsx(_components.strong,{children:`Craft Apps`}),`, then select `,_jsx(_components.strong,{children:`Custom app`}),`.\nEnter a `,_jsx(_components.strong,{children:`Name`}),` and one or more `,_jsx(_components.strong,{children:`Upstream URL patterns`}),`. Type each pattern and press Enter.\nThe proxy injects credentials only into requests that match these patterns.`]})}),_jsxs(Step,{title:`Set the authentication`,children:[_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Authentication`}),` tab, add the headers that the proxy injects, such as `,_jsx(_components.code,{children:`Authorization: Bearer {api_key}`}),`.\nOptionally, add `,_jsx(_components.strong,{children:`Organization credentials`}),` for values that every user shares.`]}),_jsx(OptimizedImage,{className:`rounded-image`,src:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=d1b8f9b7059db0aa22f4bccabd3257a6`,alt:`The custom app Authentication tab with header patterns and Organization credentials`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`assets/admins/plugins/craft_custom_app_authentication.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=f3e3378f1026b602d7dc2445991e57ed 280w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=2005aef6fa5b01b465ba68b954827bbc 560w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=ed88122f830f5494dcc54e2e17da8cfe 840w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=8ec2296752cbafdd7cb46741ce8de268 1100w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=10e62da704a98bd209410788ddf01ff8 1650w, https://mintcdn.com/danswer/ZQmscp-5KE_C6erv/assets/admins/plugins/craft_custom_app_authentication.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ZQmscp-5KE_C6erv\u0026q=85\u0026s=8fef7a26f5936a17f4c867c775bbdfeb 2500w`}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),`. Then add skills that explain how to call the API.`]})]})]}),`\n`,_jsx(_components.p,{children:`For example:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Upstream URL pattern`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.example.com/v1/*`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Header`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Header value`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bearer {api_key}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Organization credential`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`api_key`}),` = a shared service token. Leave it empty to let each user enter a token.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`define-url-patterns-narrowly`,children:`Define URL patterns narrowly`}),`\n`,_jsxs(_components.p,{children:[`Custom Apps use URL globs. Each pattern must start with `,_jsx(_components.code,{children:`http://`}),` or `,_jsx(_components.code,{children:`https://`}),`, and its host must be literal.\nWildcards are allowed only after the host.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Recommended: one HTTPS host and a narrow path`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.example.com/v1/reports/*`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Too broad: every path on the host`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.example.com/*`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Invalid: wildcard in the host`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://*.example.com/*`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Custom Apps cannot be used to reach private, loopback, link-local, cloud metadata,\nor other non-public network addresses.\nThe sandbox proxy blocks internal destinations even when a URL pattern includes them.\nExpose only a deliberately secured, publicly routable HTTPS endpoint if Craft must call a custom service.`})}),`\n`,_jsx(_components.p,{children:`Avoid overlapping URL patterns between Apps. When more than one App claims the same URL,\nthe lowest-ID App—usually the earliest created—is selected first.\nA disabled App can still claim the match before credential availability is checked,\nso do not rely on enablement to disambiguate overlapping patterns.`}),`\n`,_jsx(Heading,{level:`3`,id:`configure-credentials`,children:`Configure credentials`}),`\n`,_jsx(_components.p,{children:`In a header value, write each credential as a named placeholder:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer {api_key}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Workspace-ID: {workspace_id}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Add a value under `,_jsx(_components.strong,{children:`Organization credentials`}),` when every user should use the same service identity.\nLeave a placeholder without an organization value when each user should enter their own value when they connect the app.\nYou can also leave the header pattern empty for a public API that requires no credential.`]}),`\n`,_jsx(_components.p,{children:`Raw organization and user credentials are encrypted in Onyx-controlled storage.\nThey are not copied into the custom bundle or sandbox workspace. After a request passes its gate,\nthe sandbox proxy injects the rendered headers on the way out.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A custom App has no action catalog. Every request that matches its URL patterns requires approval.\nYou cannot set a custom App request to `,_jsx(_components.strong,{children:`Auto-approve`}),` or `,_jsx(_components.strong,{children:`Disabled`}),`. To stop all use of a custom App,\nturn off `,_jsx(_components.strong,{children:`Enable for Craft`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`manage-apps`,children:`Manage Apps`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Action`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Turn off Enable for Craft`})}),_jsx(_components.td,{children:`Hides the App from users and stops credential injection. Onyx keeps the configuration and user connections.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Delete`})}),_jsx(_components.td,{children:`Click the trash icon. Onyx removes the App, its policies, user credentials, and its Scheduled Task settings.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Onyx-managed Apps on Onyx Cloud cannot be deleted. Turn off `,_jsx(_components.strong,{children:`Enable for Craft`}),` instead.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`A built-in app connection fails`,id:`a-built-in-app-connection-fails`,children:_jsx(_components.p,{children:`Confirm the OAuth client ID and secret, the exact redirect URI, the enabled API or integration capabilities,\nand the required scopes.\nCheck whether the provider’s consent screen is limited to approved test users or workspace members.`})}),_jsx(Accordion,{title:`An enabled app does not appear to users`,id:`an-enabled-app-does-not-appear-to-users`,children:_jsxs(_components.p,{children:[`Confirm that `,_jsx(_components.strong,{children:`Enable for Craft`}),` is on and that the user has Craft access.`]})}),_jsx(Accordion,{title:`A user connected successfully but an action is blocked`,id:`a-user-connected-successfully-but-an-action-is-blocked`,children:_jsxs(_components.p,{children:[`Check the action’s admin policy and the scopes or capabilities granted by the external account.\nA `,_jsx(_components.strong,{children:`Disabled`}),` policy cannot be overridden.\nAn Ask request can also fail if the user rejects it or the approval expires.`]})}),_jsx(Accordion,{title:`A Scheduled Task is awaiting approval`,id:`a-scheduled-task-is-awaiting-approval`,children:_jsxs(_components.p,{children:[`Confirm that the task owner is still connected to the app and that the app is on in the task’s approval settings.\nThen check for a `,_jsx(_components.strong,{children:`Disabled`}),` policy, or a different app than the prompt was expected to use.\nCorrect the task and use `,_jsx(_components.strong,{children:`Run now`}),`. The blocked run does not resume automatically.`]})})]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Craft Apps for users`,icon:`user`,href:`/overview/core_features/craft_apps`,children:_jsx(_components.p,{children:`Connect accounts, guide Craft, and review approvals.`})}),_jsx(Card,{title:`Craft architecture`,icon:`diagram-project`,href:`/security/architecture/craft`,children:_jsx(_components.p,{children:`Review egress controls, credential injection, and approval enforcement.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Craft Apps","description":"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications","icon":"hammer","href":"/admins/plugins/craft_apps"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What Craft Apps can do","slug":"what-craft-apps-can-do","depth":2,"children":[{"title":"Craft Apps compared to MCP servers","slug":"craft-apps-compared-to-mcp-servers","depth":3,"children":[]}]},{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Add a built-in App","slug":"add-a-built-in-app","depth":2,"children":[{"title":"Provider setup","slug":"provider-setup","depth":3,"children":[]}]},{"title":"Set action policies","slug":"set-action-policies","depth":2,"children":[{"title":"User approvals","slug":"user-approvals","depth":3,"children":[]},{"title":"Scheduled Tasks","slug":"scheduled-tasks","depth":3,"children":[]}]},{"title":"Skills for Apps","slug":"skills-for-apps","depth":2,"children":[]},{"title":"Custom Apps","slug":"custom-apps","depth":2,"children":[{"title":"Define URL patterns narrowly","slug":"define-url-patterns-narrowly","depth":3,"children":[]},{"title":"Configure credentials","slug":"configure-credentials","depth":3,"children":[]}]},{"title":"Manage Apps","slug":"manage-apps","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"danswer","siteName":"Onyx Documentation","title":"Craft Apps - Onyx Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T19:45:02.180Z","originalFileLocation":"admins/plugins/craft_apps.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\">\u003cmeta data-mint-head name=\"keywords\" content=\"enterprise search, onyx ai, onyx, open source ai, enterprise ai, generative ai platform, ai assistant, knowledge management, danswer\">\u003cmeta data-mint-head name=\"application-name\" content=\"Onyx Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Craft Apps - Onyx Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Onyx Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.onyx.app/admins/plugins/craft_apps\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://danswer.mintlify.site/_mintlify/api/og/v2?division=Plugins\u0026amp;title=Craft+Apps\u0026amp;description=Let+Craft+read+and+act+as+each+user+in+Slack%2C+Gmail%2C+Notion%2C+and+other+applications\u0026amp;theme=602dd50adaaee2498be7103f\u0026amp;signature=792a194229afe1e1ca39f7ff2ef4ab93938beb8f51ce186bfd519de5ea4f2488\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Craft Apps - Onyx Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://danswer.mintlify.site/_mintlify/api/og/v2?division=Plugins\u0026amp;title=Craft+Apps\u0026amp;description=Let+Craft+read+and+act+as+each+user+in+Slack%2C+Gmail%2C+Notion%2C+and+other+applications\u0026amp;theme=602dd50adaaee2498be7103f\u0026amp;signature=792a194229afe1e1ca39f7ff2ef4ab93938beb8f51ce186bfd519de5ea4f2488\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/danswer/dnsxLL69h2aR36l9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Onyx Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.onyx.app/admins/plugins/craft_apps\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/admins/plugins/craft_apps.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.onyx.app/#organization\",\"name\":\"Onyx Documentation\",\"url\":\"https://docs.onyx.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/danswer/TrJ0UalhtrxYEGaI/assets/logo/onyx_logo.svg?fit=max\u0026auto=format\u0026n=TrJ0UalhtrxYEGaI\u0026q=85\u0026s=7c6a59073e62a51c501463d3d7d79c42\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.onyx.app#website\",\"name\":\"Onyx Documentation\",\"url\":\"https://docs.onyx.app\",\"publisher\":{\"@id\":\"https://docs.onyx.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.onyx.app/admins/plugins/craft_apps#webpage\",\"url\":\"https://docs.onyx.app/admins/plugins/craft_apps\",\"name\":\"Craft Apps\",\"description\":\"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\",\"dateModified\":\"2026-10-28T19:45:02.180Z\",\"isPartOf\":{\"@id\":\"https://docs.onyx.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.onyx.app/admins/plugins/craft_apps#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.onyx.app/admins/plugins/craft_apps#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Managing Features\",\"item\":\"https://docs.onyx.app/admins/managing_features/rag_and_search\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plugins\",\"item\":\"https://docs.onyx.app/admins/plugins/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Craft Apps\",\"item\":\"https://docs.onyx.app/admins/plugins/craft_apps\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.onyx.app/admins/plugins/craft_apps#article\",\"headline\":\"Craft Apps\",\"name\":\"Craft Apps\",\"description\":\"Let Craft read and act as each user in Slack, Gmail, Notion, and other applications\",\"url\":\"https://docs.onyx.app/admins/plugins/craft_apps\",\"mainEntityOfPage\":{\"@id\":\"https://docs.onyx.app/admins/plugins/craft_apps#webpage\"},\"dateModified\":\"2026-10-28T19:45:02.180Z\",\"publisher\":{\"@id\":\"https://docs.onyx.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.onyx.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Onyx Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Onyx Documentation","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://onyx.app/"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/TDJ59cGV2X"}]},"tabs":[{"tab":"Overview","icon":"house","pages":[{"title":"Overview","href":"/welcome"}]},{"tab":"Deployment","icon":"server","pages":[{"title":"Deployment","href":"/deployment/overview"}]},{"tab":"Admins","icon":"user-shield","pages":[{"group":"Getting Started","pages":[{"title":"Overview","icon":"chart-simple","href":"/admins/overview"},{"title":"Enterprise Edition","icon":"building","href":"/admins/getting_started/enterprise_edition"}]},{"group":"Language Models","pages":[{"title":"Overview","icon":"sliders","href":"/admins/ai_models/overview"},{"group":"Supported Providers","icon":"microchip","pages":[{"title":"OpenAI","icon":"bolt","href":"/admins/ai_models/openai"},{"title":"Anthropic","icon":"brain","href":"/admins/ai_models/anthropic"},{"title":"Ollama","icon":"robot","href":"/admins/ai_models/ollama"},{"title":"LM Studio","icon":"desktop","href":"/admins/ai_models/lm_studio"},{"title":"Azure OpenAI","icon":"microsoft","href":"/admins/ai_models/azure_openai"},{"title":"Amazon Bedrock","icon":"aws","href":"/admins/ai_models/bedrock"},{"title":"Google Vertex AI","icon":"google","href":"/admins/ai_models/google_ai"},{"title":"OpenRouter","icon":"robot","href":"/admins/ai_models/openrouter"},{"title":"Bifrost","icon":"server","href":"/admins/ai_models/bifrost"},{"title":"Portkey","icon":"server","href":"/admins/ai_models/portkey"},{"title":"Vercel AI Gateway","icon":"server","href":"/admins/ai_models/vercel_ai_gateway"},{"title":"Nebius TokenFactory","icon":"server","href":"/admins/ai_models/nebius_tokenfactory"},{"title":"LiteLLM Proxy","icon":"server","href":"/admins/ai_models/litellm_proxy"},{"title":"Custom Inference Provider","icon":"server","href":"/admins/ai_models/custom_inference_provider"}]}]},{"group":"Connectors","pages":[{"title":"Overview","icon":"circle-nodes","href":"/admins/connectors/overview"},{"group":"Supported Connectors","icon":"plug","pages":[{"title":"Airtable","href":"/admins/connectors/official/airtable"},{"title":"Asana","href":"/admins/connectors/official/asana"},{"title":"Axero","href":"/admins/connectors/official/axero"},{"title":"Bitbucket","href":"/admins/connectors/official/bitbucket"},{"title":"BookStack","href":"/admins/connectors/official/bookstack"},{"title":"Braintrust","href":"/admins/connectors/official/braintrust"},{"title":"Box","href":"/admins/connectors/official/box"},{"title":"Canvas","href":"/admins/connectors/official/canvas"},{"title":"ClickUp","href":"/admins/connectors/official/clickup"},{"title":"Coda","href":"/admins/connectors/official/coda"},{"group":"Confluence","pages":[{"title":"Confluence overview","href":"/admins/connectors/official/confluence"},{"title":"Confluence Cloud","href":"/admins/connectors/official/confluence-cloud"},{"title":"Confluence Data Center and Server","href":"/admins/connectors/official/confluence-data-center"}]},{"title":"Discord","href":"/admins/connectors/official/discord"},{"title":"Discourse","href":"/admins/connectors/official/discourse"},{"title":"Document360","href":"/admins/connectors/official/document360"},{"title":"Dropbox","href":"/admins/connectors/official/dropbox"},{"title":"Drupal Wiki","href":"/admins/connectors/official/drupal_wiki"},{"title":"Egnyte","href":"/admins/connectors/official/egnyte"},{"title":"File","href":"/admins/connectors/official/file"},{"title":"Fireflies","href":"/admins/connectors/official/fireflies"},{"title":"Freshdesk","href":"/admins/connectors/official/freshdesk"},{"title":"GitBook","href":"/admins/connectors/official/gitbook"},{"title":"GitHub","href":"/admins/connectors/official/github"},{"title":"GitLab","href":"/admins/connectors/official/gitlab"},{"group":"Gmail","pages":[{"title":"Gmail Overview","href":"/admins/connectors/official/gmail/overview"},{"title":"Gmail OAuth","href":"/admins/connectors/official/gmail/oauth"},{"title":"Gmail Service Account","href":"/admins/connectors/official/gmail/service_account"}]},{"group":"Google Drive","pages":[{"title":"Google Drive Overview","href":"/admins/connectors/official/google_drive/overview"},{"title":"Google Drive OAuth","href":"/admins/connectors/official/google_drive/oauth"},{"title":"Google Drive Service Account","href":"/admins/connectors/official/google_drive/service_account"}]},{"title":"Google Sites","href":"/admins/connectors/official/google_sites"},{"title":"Google Cloud Storage","href":"/admins/connectors/official/google_storage"},{"title":"Gong","href":"/admins/connectors/official/gong"},{"title":"Guru","href":"/admins/connectors/official/guru"},{"title":"Highspot","href":"/admins/connectors/official/highspot"},{"title":"HubSpot","href":"/admins/connectors/official/hubspot"},{"title":"Email (IMAP)","href":"/admins/connectors/official/imap"},{"title":"Jira","href":"/admins/connectors/official/jira"},{"title":"Linear","href":"/admins/connectors/official/linear"},{"title":"Loopio","href":"/admins/connectors/official/loopio"},{"title":"LumApps","href":"/admins/connectors/official/lumapps"},{"title":"MediaWiki","href":"/admins/connectors/official/mediawiki"},{"group":"Microsoft 365","pages":[{"title":"Microsoft 365 Setup","href":"/admins/connectors/official/microsoft-365/setup"},{"title":"SharePoint","href":"/admins/connectors/official/microsoft-365/sharepoint"},{"title":"OneDrive","href":"/admins/connectors/official/microsoft-365/onedrive"},{"title":"Microsoft Teams","href":"/admins/connectors/official/microsoft-365/teams"},{"title":"Outlook","href":"/admins/connectors/official/microsoft-365/outlook"}]},{"title":"Notion","href":"/admins/connectors/official/notion"},{"title":"Oracle Cloud Storage","href":"/admins/connectors/official/oci_storage"},{"title":"Outline","href":"/admins/connectors/official/outline"},{"title":"Productboard","href":"/admins/connectors/official/productboard"},{"title":"Cloudflare R2","href":"/admins/connectors/official/r2"},{"title":"Salesforce","href":"/admins/connectors/official/salesforce"},{"group":"S3","pages":[{"title":"S3 Overview","href":"/admins/connectors/official/s3/overview"},{"title":"S3 Access Keys","href":"/admins/connectors/official/s3/access-keys"},{"title":"S3 Assume Role","href":"/admins/connectors/official/s3/assume-role"},{"title":"S3 IAM Role","href":"/admins/connectors/official/s3/iam-role"}]},{"group":"Slack","pages":[{"title":"Slack Indexed","href":"/admins/connectors/official/slack/slack_indexed"},{"title":"Slack Federated","href":"/admins/connectors/official/slack/slack_federated"}]},{"title":"Slab","href":"/admins/connectors/official/slab"},{"title":"TestRail","href":"/admins/connectors/official/testrail"},{"title":"Web","href":"/admins/connectors/official/web"},{"title":"Wikipedia","href":"/admins/connectors/official/wikipedia"},{"title":"XenForo","href":"/admins/connectors/official/xenforo"},{"title":"YouTrack","href":"/admins/connectors/official/youtrack"},{"title":"Zendesk","href":"/admins/connectors/official/zendesk"},{"title":"Zoom","href":"/admins/connectors/official/zoom"},{"title":"Zulip","href":"/admins/connectors/official/zulip"}]}]},{"group":"Managing Features","pages":[{"group":"RAG and Search","icon":"magnifying-glass","pages":[{"title":"RAG and Search","icon":"magnifying-glass","href":"/admins/managing_features/rag_and_search"},{"title":"Connectors","icon":"plug","href":"/admins/managing_features/connectors_link"},{"title":"Index Settings","icon":"database","href":"/admins/advanced_configs/search_configs"},{"title":"Document Sets","icon":"folder-open","href":"/admins/managing_features/document_sets"},{"title":"OpenSearch Document Index Migration","icon":"arrow-right-arrow-left","href":"/admins/advanced_configs/opensearch_document_index_migration"},{"title":"Object Store Migration","icon":"arrow-right-arrow-left","href":"/admins/advanced_configs/object_store_migration"}]},{"title":"Chat Preferences","icon":"comment","href":"/admins/managing_features/chat"},{"title":"Custom Agents","icon":"robot","href":"/admins/agents/overview"},{"group":"Plugins","icon":"plug","pages":[{"title":"Overview","icon":"plug","href":"/admins/plugins/overview"},{"title":"MCP","icon":"server","href":"/admins/plugins/mcp"},{"title":"OpenAPI","description":"Turn a REST API with an OpenAPI schema into tools for Chat and custom agents","icon":"code","href":"/admins/plugins/openapi"},{"title":"Craft Apps","icon":"hammer","href":"/admins/plugins/craft_apps"}]},{"group":"Built-in Actions","pages":[{"title":"Web Search","description":"Enable web search for your AI Agents in Onyx","icon":"globe","href":"/admins/actions/web_search"},{"title":"Code Interpreter","icon":"code","href":"/admins/actions/code_interpreter"},{"title":"Image Generation","icon":"image","href":"/admins/actions/image_generation"},{"title":"Voice","icon":"microphone","href":"/admins/actions/voice_mode"},{"title":"Coding Agent","icon":"code-branch","href":"/admins/actions/coding_agent"}]},{"group":"Craft","icon":"hammer","pages":[{"title":"Overview","icon":"hammer","href":"/admins/managing_features/craft"},{"title":"Skills","icon":"wand-magic-sparkles","href":"/admins/managing_features/craft_skills"}]}]},{"group":"Access Control","pages":[{"title":"Users and Groups","icon":"users","href":"/admins/user_management/users_and_groups"},{"title":"Understanding Permissions","icon":"shield-check","href":"/admins/permissions/understanding_permissions"},{"title":"What's Changing in Permissions","icon":"arrow-right-arrow-left","href":"/admins/permissions/whats_changing"},{"title":"SCIM","icon":"arrows-rotate","href":"/deployment/authentication/scim"},{"title":"Service Accounts","icon":"key","href":"/admins/user_management/api_keys"}]},{"group":"Advanced Configs","pages":[{"title":"Spending Limits","icon":"dollar-sign","href":"/admins/advanced_configs/spending_limits"},{"title":"White Labeling","icon":"brush","href":"/admins/advanced_configs/white_labeling"},{"title":"Language Model Access Controls","icon":"lock","href":"/admins/advanced_configs/llm_access_controls"},{"title":"Security \u0026 Hardening","icon":"shield","href":"/admins/advanced_configs/security_hardening"},{"title":"Hook Extensions","icon":"webhook","href":"/admins/advanced_configs/hook_extensions"},{"title":"Tracing","icon":"chart-line","href":"/admins/advanced_configs/tracing"},{"title":"Terraform Provider","icon":"cubes","href":"/admins/advanced_configs/terraform_provider"},{"title":"Slack Bot","icon":"slack","href":"/admins/getting_started/slack_bot_setup"},{"title":"Discord Bot","icon":"discord","href":"/admins/miscellaneous/discord_bot"}]},{"group":"Usage \u0026 Analytics","pages":[{"title":"Usage Analytics","icon":"chart-line","href":"/admins/analytics/overview"},{"title":"Query History","icon":"clock-rotate-left","href":"/admins/analytics/query_history"},{"title":"Custom Analytics","icon":"chart-mixed","href":"/admins/analytics/custom_analytics"}]},{"group":"Auditing","pages":[{"title":"Audit Logs \u0026 SIEM Integration","icon":"shield-check","href":"/admins/auditing/audit_logs"}]},{"group":"Plans \u0026 Billing","pages":[{"title":"Plans \u0026 Billing","icon":"wallet","href":"/admins/billing/overview"},{"title":"Subscribe to a Plan","icon":"credit-card","href":"/admins/billing/subscribing"},{"title":"Manage Your Subscription","icon":"gear","href":"/admins/billing/manage"},{"title":"Troubleshooting","icon":"wrench","href":"/admins/billing/troubleshooting"}]},{"group":"Miscellaneous","pages":[{"title":"Contact Us","icon":"comments","href":"/admins/miscellaneous/contact_us"}]}]},{"tab":"Developers","icon":"square-terminal","pages":[{"title":"Developers","href":"/developers/overview"}]},{"tab":"Security","icon":"shield","pages":[{"title":"Security","href":"/security/architecture/system_description"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Agent Wiki","icon":"book","hidden":true,"pages":[{"title":"Agent Wiki","href":"/agent-wiki/welcome"}]}]},"basePath":"","title":"Craft Apps - Onyx Documentation","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-C79IUEr8.js","dist-DE3EVdvd.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-DK3K4Z1S.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-CE4cYsJE.js","lightbox-handle-r17bVUz3.js"]}