---
name: buy-on-amazon
description: "Hand your office-manager agent an Amazon link or a shopping list. Browserbase drives the checkout; your agent card pays and codes it."
title: "Buy on Amazon with an agent card"
url: https://agents.ramp.com/playbooks/buy-on-amazon
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Buy on Amazon with an agent card

For one-off Amazon orders — supplies, hardware, gifts, anything that has to happen on amazon.com. Browserbase navigates Amazon, your agent picks the right listing and steps through checkout, and your Ramp agent card handles payment.

## How to run

Identify which runtime you're operating in (Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity). Use the matching section below; ignore the others.

## Claude Desktop

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Claude Desktop ([connector directory](https://claude.ai/directory/61bac03c-3f98-4b3c-affb-1b99533fa82c))
- Ramp Agent Cards enabled for your business
- Browserbase MCP added as a custom connector with URL `https://mcp.browserbase.com/mcp?browserbaseApiKey=YOUR_BROWSERBASE_API_KEY` ([get an API key](https://www.browserbase.com/overview))

Make this Amazon purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Amazon product link or search query, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open amazon.com through Browserbase. If I gave you a product link, go straight there; otherwise search and pick the listing that matches my description (ask me to confirm if more than one fits). Step through checkout. When you reach the payment step, ask me to issue an agent card with the expected total as the limit, then enter the card details. Confirm the order summary with me before clicking buy. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```

## ChatGPT

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in ChatGPT ([app](https://chatgpt.com/apps/ramp/asdk_app_69250fb6281c819195b52a1556b0060c))
- Ramp Agent Cards enabled for your business
- Browserbase MCP added as a custom connector with URL `https://mcp.browserbase.com/mcp?browserbaseApiKey=YOUR_BROWSERBASE_API_KEY` ([get an API key](https://www.browserbase.com/overview))

Make this Amazon purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Amazon product link or search query, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open amazon.com through Browserbase. If I gave you a product link, go straight there; otherwise search and pick the listing that matches my description (ask me to confirm if more than one fits). Step through checkout. When you reach the payment step, ask me to issue an agent card with the expected total as the limit, then enter the card details. Confirm the order summary with me before clicking buy. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```

## Claude Code

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`
- Ramp Agent Cards enabled for your business
- Browse CLI installed: `npm install -g browse`
- Browserbase API key set: `export BROWSERBASE_API_KEY=...` ([get an API key](https://www.browserbase.com/overview))
- Optional skill: [agentic-purchase](https://github.com/ramp-public/ramp-cli)

Make this Amazon purchase using my Ramp Agent Card. Run the Browse CLI to drive the checkout:

[REPLACE — Amazon product link or search query, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open amazon.com with the `browse` CLI. If I gave you a product link, go straight there; otherwise search and pick the listing that matches my description (ask me to confirm if more than one fits). Step through checkout. When you reach the payment step, ask me to issue an agent card with the expected total as the limit, then enter the card details. Confirm the order summary with me before clicking buy. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```

## Codex

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`
- Ramp Agent Cards enabled for your business
- Browse CLI installed: `npm install -g browse`
- Browserbase API key set: `export BROWSERBASE_API_KEY=...` ([get an API key](https://www.browserbase.com/overview))
- Optional skill: [agentic-purchase](https://github.com/ramp-public/ramp-cli)

Make this Amazon purchase using my Ramp Agent Card. Run the Browse CLI to drive the checkout:

[REPLACE — Amazon product link or search query, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open amazon.com with the `browse` CLI. If I gave you a product link, go straight there; otherwise search and pick the listing that matches my description (ask me to confirm if more than one fits). Step through checkout. When you reach the payment step, ask me to issue an agent card with the expected total as the limit, then enter the card details. Confirm the order summary with me before clicking buy. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```

## Perplexity

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Perplexity ([connector](https://www.perplexity.ai/computer/connectors?connector=ramp))
- Ramp Agent Cards enabled for your business
- Browserbase MCP added as a custom connector with URL `https://mcp.browserbase.com/mcp?browserbaseApiKey=YOUR_BROWSERBASE_API_KEY` ([get an API key](https://www.browserbase.com/overview))

Make this Amazon purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Amazon product link or search query, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open amazon.com through Browserbase. If I gave you a product link, go straight there; otherwise search and pick the listing that matches my description (ask me to confirm if more than one fits). Step through checkout. When you reach the payment step, ask me to issue an agent card with the expected total as the limit, then enter the card details. Confirm the order summary with me before clicking buy. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```
