Skip to main content
Connect Pulumi Cloud so CloudThinker can list your stacks, find the resources Pulumi manages, and triage policy violations. You sign in with Pulumi’s OAuth flow, so you never paste a Pulumi access token into CloudThinker.

Prerequisites

  • A Pulumi Cloud account that belongs to the organization holding your stacks.
  • The Admin role in the CloudThinker workspace. Only workspace Admins can add, edit, or remove connections. See Roles.
CloudThinker uses the authorizing account’s default Pulumi organization unless you name another organization that account belongs to in your prompt.

Setup

1

Open the Pulumi connection

Open More → Workspace settings → Connections, select Pulumi, and click Connect. A Pulumi authorization page opens in a pop-up.
2

Sign in and authorize

Sign in to the Pulumi account that can see your stacks, then approve access.
3

Return to CloudThinker

Pulumi sends you back to CloudThinker, which stores the OAuth tokens for you.Success state: the Pulumi connection shows a Connected status.
There are no fields to fill in. Pulumi issues the OAuth tokens during authorization, and the endpoint is fixed at mcp.ai.pulumi.com.

Required permissions

CloudThinker gets the same Pulumi access as the account that authorized it. Read access to the organization covers every read capability below. Deploy to AWS and Neo tasks also run as that account, so they work only if the account is allowed to do the same thing in Pulumi. With a read-only account, Pulumi refuses them.
Authorize with an account that can read the organization but doesn’t administer it, unless you plan to deploy through CloudThinker.

Agent capabilities

Pulumi Neo is Pulumi’s own AI agent. A Neo task can deploy infrastructure and change a repository, which is why starting or continuing one goes through Approvals. A stack is identified by organization, project, and stack name together, so CloudThinker reports all three. It doesn’t print stack outputs, configuration values, or secrets.

Verify the connection

Expect a table of stacks. An empty result means the authorizing account’s default organization has no stacks, not that the connection is broken.

Example prompts

Write access

Four tools change real state: deploy to AWS, plus the three tools that drive Pulumi Neo. Each call goes through Approvals on its own, and approving one call never approves the next. Every change an agent makes goes through your workspace’s Approvals first. On the default Auto · Rules + AI · Ask me mode, AI judgment can let a safe change run without asking — and an Allow Rule can too, once CloudThinker turns on Rule enforcement for your workspace. Choose Manual to approve every change yourself. When a person approves, CloudThinker names the organization, stack, and effect first. If you reject a call, CloudThinker doesn’t retry it. Ask again in a new message if you change your mind. See Approvals for how gated tools work.
Approve a deployment only when you recognize the stack. A Pulumi deployment creates real resources and bills your cloud account.
CloudThinker exposes a reviewed list of Pulumi tools. A tool Pulumi adds later stays hidden until it has been reviewed and marked as a read or a write.

Troubleshooting

  • Nothing opens: your browser blocked the pop-up. Allow pop-ups for CloudThinker, then click Connect again.
  • Wrong account: your browser is signed in to a different Pulumi account. Sign in to the right one at app.pulumi.com, then click Connect again.
  • You declined access: click Connect again and approve on the Pulumi page.
CloudThinker uses the authorizing account’s default Pulumi organization unless you name another organization that account belongs to in your prompt. Name the organization that holds the stacks. If the account isn’t a member, reconnect with one that is.
The connection reaches only organizations the authorizing Pulumi user belongs to. Add the user to the organization in Pulumi, or disconnect and authorize with an account that already belongs to it.
That’s Approvals, and it checks each call on its own. Answer the prompt in the conversation to continue. To stop being asked for a stack you trust, an Allow Rule can let those calls run, once CloudThinker turns on Rule enforcement for your workspace.

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Keep the gate on. Deploy to AWS and the Pulumi Neo tools are the only tools on this connection that can change your cloud or a repository.
  • Switch accounts deliberately. The connection reaches whatever the authorizing account reaches. To change accounts, open More → Workspace settings → Connections, select Pulumi, click Disconnect on the detail panel, then connect again with the other account.

Approvals

Control when CloudThinker asks before a deployment.

HCP Terraform connection

Connect your other infrastructure-as-code service.