---
name: buy-on-apple
description: "Need hardware? Your agent configures and checks out on apple.com, pays with an agent card, and files the receipt."
title: "Buy from Apple with an agent card"
url: https://agents.ramp.com/playbooks/buy-on-apple
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Buy from Apple with an agent card

For one-off Apple purchases — laptops, phones, accessories, anything on apple.com. Browserbase navigates Apple, your agent selects and configures the right product 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 Apple purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Apple product link or model and configuration, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open apple.com through Browserbase. If I gave you a product link, go straight there; otherwise find the model I described and apply the configuration I specified (ask me to confirm if more than one option fits). Add it to the bag and 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 placing the order. 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 Apple purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Apple product link or model and configuration, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open apple.com through Browserbase. If I gave you a product link, go straight there; otherwise find the model I described and apply the configuration I specified (ask me to confirm if more than one option fits). Add it to the bag and 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 placing the order. 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 Apple purchase using my Ramp Agent Card. Run the Browse CLI to drive the checkout:

[REPLACE — Apple product link or model and configuration, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open apple.com with the `browse` CLI. If I gave you a product link, go straight there; otherwise find the model I described and apply the configuration I specified (ask me to confirm if more than one option fits). Add it to the bag and 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 placing the order. 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 Apple purchase using my Ramp Agent Card. Run the Browse CLI to drive the checkout:

[REPLACE — Apple product link or model and configuration, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open apple.com with the `browse` CLI. If I gave you a product link, go straight there; otherwise find the model I described and apply the configuration I specified (ask me to confirm if more than one option fits). Add it to the bag and 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 placing the order. 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 Apple purchase using my Ramp Agent Card. Browserbase will drive the browser:

[REPLACE — Apple product link or model and configuration, expected total]
Memo: [REPLACE — business purpose, GL category if known]

Open apple.com through Browserbase. If I gave you a product link, go straight there; otherwise find the model I described and apply the configuration I specified (ask me to confirm if more than one option fits). Add it to the bag and 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 placing the order. After the purchase, attach the receipt, then apply the memo, tracking category, and trip if relevant.
```
