# Expenses and cards

> Connect Ramp or Brex so Mello answers “can I expense this?” and “what’s my card limit?”, files receipts as Ramp reimbursements, and issues, changes and locks company cards.

Audience: Workspace owners and administrators

Kind: How-to guide

Canonical: https://shuffl.ai/docs/expenses-and-cards

<a id="what"></a>
## What it does

People ask HR whether a purchase is covered and what their limit is. Connect your spend platform once and Mello answers in Chat and Slack from the programs as they stand, citing your policy page, and tells each person their own limit.

Shuffl reads when someone asks and stores none of it. A person only ever sees their own cards; Mello never reads or repeats anyone else’s limit, and it never approves a purchase.

### What Mello reads

- Spend programs: names, limits, per-purchase caps, allowed and blocked categories, and whether they reimburse.
- The asking person’s own cards and limits, found by their work email, with what is left this period.

<a id="ramp"></a>
## Connect Ramp

1. In Ramp, open Company → Developer and create an app. Turn on the client credentials grant.

2. Give it the read scopes for business, spend programs, users and funds, and reimbursements read and write for receipts. Copy the client ID and secret.

3. In Shuffl, open Settings → Expenses and cards, choose Connect Ramp and paste them. Pick Sandbox for a Ramp demo account.

Ramp connects through a developer app you create in your own Ramp account, with the client credentials grant. It needs no marketplace listing. Shuffl asks for read scopes, plus reimbursements if you want people to file receipts.

- [Open Expenses and cards](https://shuffl.ai/app/settings/spend)

<a id="brex"></a>
## Connect Brex

1. In Brex, sign in as an account admin, open Developer and create a token.

2. Give it read access to company, users, cards and budgets. Copy it; Brex shows it once.

3. In Shuffl, open Settings → Expenses and cards, choose Connect Brex and paste the token.

Brex connects with a user token from your own Brex account. Budget programs supply the policy; each person’s cards supply their limits. A token without budget access still answers limits.

- [Open Expenses and cards](https://shuffl.ai/app/settings/spend)

<a id="receipts"></a>
## File receipts and mileage

1. Connect Ramp with the reimbursements scopes. Under the connection, Let Shuffl make changes in Ramp is on.

2. In Slack, someone sends Mello the receipt and says what it was for. Mello shows a card naming the file and the memo.

3. They choose Run. Ramp drafts it from the receipt; they check the amount there and submit it.

With Ramp, people send Mello a receipt photo or PDF in their private Slack conversation, or describe a work trip by car. Mello prepares a card; when they run it, Ramp drafts the reimbursement and it goes through your usual approval.

Shuffl keeps the photo only until Ramp has it, and a day at most. Each person files only their own, found by work email. Their reimbursements and where each stands appear on Me under Filed for you.

- [Open Expenses and cards](https://shuffl.ai/app/settings/spend)

<a id="cards"></a>
## Company cards

1. Connect Ramp with the funds and users write scopes, or Brex with card write access. Turn on Let Shuffl make changes.

2. Under Company cards, set the default limit, how often it resets and a limit for each group, then save.

3. Ask Mello to issue or lock someone’s cards. Run or dismiss each change under Card changes to review.

Set a limit for each group once. A new card gets the highest limit of the groups the person is in, or the default, and their manager approves its spending. Mello issues it, inviting the person to the platform first if needed.

When someone moves group or manager in People, Shuffl prepares the change and tells HR. Nothing changes until someone runs it. Locking reads every card back.

A Card step in a joining playbook issues the card on day one; in a leaving playbook it locks every card on the last day.

- [Open Expenses and cards](https://shuffl.ai/app/settings/spend)

<a id="policy"></a>
## Draft the policy page

1. Under the connection, choose Draft the policy page.

2. Open the draft in Knowledge, add what the platform cannot say, such as receipts and who approves, then publish.

3. When programs change, choose Redraft the policy page. Shuffl updates the same page as a new draft.

Mello answers best when your expense policy is a page in Knowledge. Draft the policy page writes one from your programs. It stays a draft until someone who manages Knowledge reviews it and publishes it to everyone.

- [Open Expenses and cards](https://shuffl.ai/app/settings/spend)

<a id="developers"></a>
## Developers and Mello

The SDK, CLI, MCP and REST API carry the same reads and actions. `spend.current` and `spend.programs` need `integrations:read`; `spend.draftPolicy` and `spend.disconnect` need `integrations:write`.

`spend.mine` with `self:read` returns the signed-in person’s own cards. Connecting stays in Settings.

`expenses.stageReceipt`, `expenses.submitReceipt` and `expenses.submitMileage` need `self:write` and file only for the caller; `expenses.mine` lists them. `spend.setWrites` turns filing on or off.

`spend.setCardLimits`, `spend.cards.issue`, `spend.cards.updateLimit`, `spend.cards.lock` and `spend.cards.dismissChange` need `integrations:write`; `spend.cards.forPerson` and `spend.cards.changes` read with `integrations:read`.

## Related guides

- [Ask Mello](https://shuffl.ai/docs/ask-mello)

- [Write Knowledge that Mello answers well](https://shuffl.ai/docs/write-knowledge)

- [Compliance evidence](https://shuffl.ai/docs/compliance-evidence)

- [Playbooks and onboarding](https://shuffl.ai/docs/playbooks)

- [REST API reference](https://shuffl.ai/docs/api-reference)

Agent documentation index: https://shuffl.ai/llms.txt

