[Docs index](/docs.md) / [Workspace Billing](/docs/workspace-billing/overview.md) / Setting Up a Payment Method

---

# Setting Up a Payment Method

Save a payment method to your workspace to enable credit purchases and automatic top-ups.

## Before you begin

- You must be a workspace administrator.

## Steps

### 1. Open the billing panel

Navigate to the **Workspace** page. The **Billing** section appears below the active workspace card.

### 2. Open the payment method dialog

Click the **Payment Method** button (credit card icon) in the top-right corner of the billing panel. A dialog opens with a secure card entry form.

If you already have a payment method saved, the dialog shows your current card (for example, "Visa ending in 4242") and lets you replace it.

### 3. Enter your card details

Fill in your card information in the secure form. The form is provided by Stripe and accepts credit and debit cards. Card details are sent directly to Stripe and are not stored by the application.

### 4. Save the payment method

Click **Save**. The button shows "Saving..." while the payment method is confirmed with Stripe.

### 5. Verify the setup

Once saved, the dialog closes. The **Payment Method** button now reflects your saved card. You can now add credits and configure automatic top-ups.

If you had a pending credit purchase or top-up configuration waiting on a payment method, it is applied automatically after the card is saved.

---

## Navigation

### In this section: Workspace Billing

- [Workspace Billing](/docs/workspace-billing/overview.md)
- [Adding Credits](/docs/workspace-billing/adding-credits.md)
- **Setting Up a Payment Method** (current)
- [Configuring Automatic Top-Ups](/docs/workspace-billing/configuring-automatic-top-ups.md)
- [Viewing Usage and Costs](/docs/workspace-billing/viewing-usage-and-costs.md)
- [Troubleshooting](/docs/workspace-billing/troubleshooting.md)

### Other sections

- [Tool Creation](/docs/tool-creation/overview.md)
- [Subagents](/docs/subagents/overview.md)
- [Agent Skills](/docs/agent-skills/overview.md)
- [Sandcastles](/docs/sandcastles/overview.md)
- [MCP Servers](/docs/mcp-servers/overview.md)
- [Scheduled Triggers](/docs/scheduled-triggers/overview.md)
- [Agent Filesystem](/docs/agent-filesystem/overview.md)
- [Tool Policies](/docs/tool-policies/overview.md)
- [Workspace Permissions](/docs/workspace-permissions/overview.md)
- [Chat Sharing](/docs/chat-sharing/overview.md)

[Back to docs index](/docs.md)
