Setup Guide

Support Skills Partners
About 2 minutes

Connect Your ChatGPT Subscription to ProductiveBot

Stop paying for API tokens. If you already have a ChatGPT subscription, you can connect it directly to your ProductiveBot through OpenAI's official OAuth. Your bot gets access to GPT-5.4 and other OpenAI models using what you already pay for.

What you need
ChatGPT Plus, Pro, Business, or Enterprise
Setup time
~2 minutes
Difficulty
Easy

What is ChatGPT OAuth?

Right now, your ProductiveBot uses API tokens to talk to an AI provider. Every message costs tokens, and you pay based on usage. ChatGPT OAuth is a different approach. Instead of buying tokens, you connect your existing ChatGPT subscription. Your bot uses the same account you already pay a flat monthly fee for.

This means no more tracking token usage, no surprise bills, and no running out of credits. If your ChatGPT subscription is active, your bot works.

Available Models

Once connected, your ProductiveBot can use any model included in your ChatGPT plan. The default is GPT-5.4, OpenAI's flagship model.

Model Best for Context
GPT-5.4 Complex reasoning, writing, coding 266k tokens
GPT-5.4-mini Faster responses, everyday tasks 266k tokens
GPT-5.4-nano Quick lookups, simple tasks 266k tokens
Codex Code generation and debugging 266k tokens
Which models you get depends on your ChatGPT plan. Plus ($20/mo) includes GPT-5.4 with usage limits. Pro ($200/mo) includes unlimited GPT-5.4 and GPT-5.4 Pro. Business and Enterprise include unlimited GPT-5.4 for all workspace members. See OpenAI's pricing page for current plan details.

Is This Allowed by OpenAI?

Yes. OpenAI provides an official OAuth connector specifically for third-party tools to connect to ChatGPT subscriptions. This is the same technology that powers ChatGPT's Apps, Actions, and Codex integrations. Your credentials are never shared with ProductiveBot or any third party. You log into OpenAI directly, and OpenAI issues a secure token that allows your bot to make requests on your behalf.

This is different from how some other AI providers work. For example, Anthropic (the maker of Claude) does not offer a consumer OAuth connector. Their API is a separate product from their consumer subscription, so using Claude through ProductiveBot requires API billing. OpenAI chose to make their consumer subscriptions available to third-party tools through OAuth, which is what this skill uses.

As with any service, we recommend reviewing OpenAI's current Terms of Use for the latest details on permitted usage.

API Tokens vs. ChatGPT OAuth

API Tokens ChatGPT OAuth
Billing Pay per message (usage-based) Flat monthly fee you already pay
Setup Create account, add payment, generate key Log in with your ChatGPT account
Usage limits Depends on your balance Depends on your plan tier
Surprise bills Possible if usage spikes No, flat rate
1
Activate the Skill Store

If this is your first time installing a skill, you need a one-time activation. Go to the Skill Store, click "Activate Skill Store" at the top, and follow the quick setup. Takes about 5 seconds.

Already activated? Skip to Step 2.

2
Install the ChatGPT OAuth Skill

Go to the Skill Store and click Install on the ChatGPT OAuth card. Generate your install command and paste it into Terminal. You'll see a success message when it's done.

Terminal showing successful install
3
Tell Your Bot

Send this message to your ProductiveBot (through Telegram, Slack, Discord, or the web console):

Setup my ChatGPT OAuth Skill from ProductiveBot

Your bot will ask if you have a ChatGPT subscription, then place a "Connect ChatGPT" shortcut on your Desktop. Double-click it, log into ChatGPT in the browser that opens, and everything else is automatic.

Connect ChatGPT shortcut on Desktop
4
Done

After you log into ChatGPT, a success page will appear confirming the connection. Your ProductiveBot is now running on your ChatGPT subscription.

That's it. No API tokens to buy, no usage bills to track. As long as your ChatGPT subscription is active, your ProductiveBot will work. Send your bot a message to test it out.

Want to Switch Back?

You can return to your previous AI provider anytime. Open Terminal and run:

$ openclaw config set agents.defaults.model.primary anthropic/claude-sonnet-4-6 $ openclaw gateway restart

This switches back to Anthropic's Claude. Your ChatGPT login stays saved, so you can switch between providers without logging in again.


Common Questions

Does this cost extra?
No. If you already have a ChatGPT Plus ($20/mo), Team, or Enterprise subscription, this uses that subscription. There is no extra charge from ProductiveBot or OpenAI for connecting it this way.
Will this use up my ChatGPT messages?
Yes. Your ProductiveBot will use messages from your ChatGPT subscription the same way the ChatGPT app does. ChatGPT Plus includes a generous message allowance that resets regularly. Most ProductiveBot users will not come close to hitting it.
Do I need to keep my API key?
No. ChatGPT OAuth replaces the API key entirely. You do not need to manage API keys or monitor token usage. If you had an API key set up before, it will no longer be used once you switch to ChatGPT.
Does the free ChatGPT plan work?
No. You need a paid ChatGPT subscription (Plus, Pro, Business, or Enterprise). Free and Go plans do not support the OAuth connection that ProductiveBot uses.
Can I use other models besides GPT-5.4?
Yes. After connecting, you can switch to any model available through your ChatGPT plan. For example, GPT-5.4-mini for faster responses, GPT-5.4-nano for quick tasks, or Codex for coding work. Tell your bot "switch to GPT-5.4-mini" or change the model in the config.
What is the context window?
GPT-5.4 and its variants support a 266,000-token context window. That is roughly 200,000 words, or about 400 pages of text. In practical terms, your bot can reference much longer conversations and documents than most other AI providers offer. Enterprise plans may have an even larger context window.
Can I use Codex for coding tasks?
Yes. Codex is available on ChatGPT Plus and above. Once connected via OAuth, you can set your bot to use Codex for code generation, debugging, and technical tasks. It is the same Codex engine that powers coding features in ChatGPT.
What if my ChatGPT subscription expires?
Your ProductiveBot will stop being able to respond until you renew your subscription or switch to a different AI provider. You will not lose any data or settings.
The browser did not open when I ran the command
Make sure you are running the command in the Mac's Terminal app, not through your bot. The browser needs to open locally on the Mac Mini. If you are connected remotely via SSH, the browser cannot open on your local machine. You will need to either use Screen Sharing to access the Mac's desktop, or ask us for help via Scout.
I see "localhost refused to connect" in the browser
This usually means the OAuth listener timed out before you completed the login. Go back to Terminal, run the openclaw models auth login --provider openai-codex command again, and complete the login more quickly when the browser opens.
Can I use this with multiple ChatGPT accounts?
Your ProductiveBot connects to one ChatGPT account at a time. If you want to switch accounts, run the login command again and log in with the different account.

Update Log

v1.1.0 March 24, 2026

Fixed absolute path in SKILL.md, auto-set model after OAuth, improved bot trigger flow.

v1.0.0 March 17, 2026

Initial release — OAuth connection, Desktop shortcut installer.

Need help? Talk to Scout

Scout is our AI support assistant. It can walk you through this step by step and troubleshoot issues in real time.

Chat with Scout Help Center

You can also email us at support@productivebot.ai