> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.upwardli.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.upwardli.com/_mcp/server.

# Profile

The **Profile** components allow an end-user to view and manage their account information.\
There are two components depending on the flow:

* **Card Profile** — for consumers onboarding via Card.
* **CBaaS Profile** — for consumers onboarding via Credit Builder as a Service.

---

# Steps

## 1. Authentication

Both components require a JWT with the following scope:

* `api:profile:read`
* `api:profile:write`

This token must be scoped to the **current consumer**.

See [consumer scoped token](/api-access/api-reference/auth/create-token-exchange) API

---

## 2. Parameters

| Parameter      | Value            | Notes                                                                                                                                          |
| -------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `cid`          | Guid             | The `upward_consumer_id` property of the consumer. This maps to an ID your platform stores for the user. *(Required for CBaaS component only)* |
| `access_token` | JWT Bearer Token | Must include the `api:profile:read`, `api:profile:write` scope. Useful if your platform cannot inject the token directly into the component.   |

---

## 3. Load Profile Component

Choose the correct component based on the flow:

### Card Profile Component

[https://component-embedded-sandbox.upwardli.com/consumer-profile/?access\_token=\{\$consumer\_scoped\_token}](https://component-embedded-sandbox.upwardli.com/consumer-profile/?access_token=\{\$consumer_scoped_token})

### CBaaS Profile Component

[https://component-embedded-sandbox.upwardli.com/profile/?cid=\{\$upward\_consumer\_id}\&access\_token=\{\$consumer\_scoped\_token}](https://component-embedded-sandbox.upwardli.com/profile/?cid=\{\$upward_consumer_id}\&access_token=\{\$consumer_scoped_token})