Connect ChatGPT
Connect ChatGPT
Add DataMagik to ChatGPT as a custom app, then use it in any chat. You can also run DataMagik's own assistant on OpenAI's models.
There are two separate ways ChatGPT and DataMagik work together:
- ChatGPT uses DataMagik — you chat in ChatGPT, and it reaches DataMagik through the DataMagik MCP server as a custom app. Covered first on this page.
- DataMagik uses OpenAI — you chat in DataMagik's AI Assistant, and it runs on OpenAI's models through an OpenAI API key added to DataMagik's company keys. See Run the DataMagik assistant on OpenAI.
OpenAI renamed connectors to apps, so you may see either word. Custom apps need Developer mode, a paid plan, and ChatGPT on the web for setup.
| Setting | Value |
|---|---|
| Name | DataMagik |
| MCP server URL | https://mcp.data-magik.com/mcp |
| Authentication | OAuth (no client ID or secret needed) |
Menus move: OpenAI has moved the Developer mode switch between settings pages over time. If a step below does not match your screen, search ChatGPT's settings for Developer mode.
Personal plans (Plus, Pro)
- On chatgpt.com, open Settings > Apps (or Connectors), open Advanced settings, and turn on Developer mode. On some accounts the switch is under Settings > Security and login.
- Back in Settings > Apps, click Create.
- Enter the name and the MCP server URL from the table, and choose OAuth for authentication.
- Tick the box confirming that you trust this app (ChatGPT shows this warning for every custom app), then click Create.
- A DataMagik sign-in page opens. Sign in with your DataMagik account and approve access.
Depending on your plan, ChatGPT may limit custom apps to tools that only read data. Questions, reports and lookups work either way; building or changing things in DataMagik needs a plan that allows write tools.
Business, Enterprise and Edu workspaces
On workspace plans, custom apps are controlled by workspace Owners and Admins. An admin sets DataMagik up once and publishes it; members then connect with their own DataMagik account, so each person keeps their own DataMagik permissions.
Admin — set up DataMagik for the workspace
- Open Workspace settings and allow custom apps and Developer mode (under Apps > Advanced settings, or Permissions & roles). On Enterprise and Edu, give the Developer mode role to the people who will set up apps.
- In Workspace settings > Apps, click Create.
- Enter the name and MCP server URL, choose OAuth, and click Scan tools so ChatGPT lists DataMagik's tools.
- Choose which tools to allow. If you want a read-only rollout first, leave out tools that create, update, delete, execute or send.
- Save it as a draft, connect it yourself, and test it in a chat.
- When it works, Publish it to the workspace, or to the groups that should have it.
Members — connect your own account
- Open Settings > Apps and find DataMagik.
- Click Connect, sign in to DataMagik and approve access.
Using DataMagik in a chat
- In a new chat, open the tools menu in the composer (+) and turn on DataMagik. With Developer mode, custom apps are listed under Developer mode.
- Ask: "Which DataMagik company am I working in?" and switch if needed.
- Ask your question, for example "List open customer returns older than 30 days."
ChatGPT asks you to confirm before it runs a tool that changes data. Read the confirmation before approving anything that writes to Plex, sends email or prints.
Run the DataMagik assistant on OpenAI (company key)
DataMagik's AI Assistant, AI Agents and other AI features run on an AI provider key that your company supplies. To run them on OpenAI's models, add an OpenAI API key to the company keys.
A ChatGPT subscription is not an API key. ChatGPT Plus, Pro, Business and Enterprise plans do not include API access. The key comes from the OpenAI API platform and is billed there, by usage, separately from any ChatGPT plan.
1. Create the OpenAI API key
- Sign in to the OpenAI API platform at
platform.openai.comwith your organization's account. Set up billing if it is not set up yet. - Create a project for DataMagik (optional but recommended), so its spend, limits and model access are separate.
- Open API keys, click Create new secret key, name it DataMagik, and choose the project.
- Copy the key. It starts with
sk-and is shown only once.
2. Add it to DataMagik's company keys
- In DataMagik, open AI Provider Keys and select the Company Keys tab. This tab needs administrator access.
- On the OpenAI card, pick a Model.
- Paste the key into API key and click Save key.
- Click Set active. The card is marked Active, and everyone without an active personal key now uses OpenAI.
- Open the AI Assistant and ask a question to confirm it answers.
- Personal keys win. A user with their own active key under Your Keys uses that key instead of the company key.
- Models per assistant. Each assistant can keep Provider default or use a specific OpenAI model; see Managing AI Assistants.
- Watch spend in AI Token Usage, and set budgets and limits for the key's project on the OpenAI platform.
- Rotating the key: create a new key on the platform, type it over the old one on the card and click Replace key, then revoke the old key.
See AI Provider Keys for more.
Troubleshooting
| Problem | What to do |
|---|---|
| No Create option, or no Developer mode switch | Your plan does not support custom apps (Free does not), or your workspace admin has not allowed them. |
| DataMagik does not appear for members | The admin has not published it, or not to your group. |
| Tools that change data are missing | Your plan or your workspace allows only read tools, or the admin left them out. |
| Sign-in loops or fails | Check the URL is exactly https://mcp.data-magik.com/mcp, then delete the app and create it again. |
| Results come from the wrong company | Ask ChatGPT which company is active and to switch. |
| The DataMagik assistant does not answer after adding the key | Check the OpenAI card is Active, the key's project has billing and access to the chosen model, and the user has no other personal key active. |