> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cedarai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customer Portal and IAM

> How to configure customer-facing access with Cedar.AI IAM policies, roles, and groups.

## Customer Portal with IAM

The Customer Portal is powered by IAM configuration. Share specific resources with customer users and control what they can see and do using roles and policies.

### Example policy: Track access and ordering

<Steps>
  <Step title="Grant admin access to tracks A and B">
    Attach this policy to Track A and Track B to allow customer admins to view, load, empty, rebill, and order equipment. Viewers can only view and print paperwork.

    ```json theme={null}
    {
      "bindings": [
        { "role": "roles/inventory.equipmentCustomerAdmin", "members": ["group:cedxcustomeradmin"] },
        { "role": "roles/inventory.equipmentViewer", "members": ["group:cedxcustomeruser"] }
      ]
    }
    ```
  </Step>

  <Step title="Grant ordering to group C">
    ```json theme={null}
    {
      "bindings": [{ "role": "roles/inventory.equipmentOrderer", "members": ["group:cedxcustomeradmin"] }]
    }
    ```
  </Step>
</Steps>

### Roles and permissions

* `roles/inventory.equipmentCustomerAdmin`: list, get, load, empty, rebill, order, grouping list/get
* `roles/inventory.equipmentViewer`: list, get, grouping list/get
* `roles/inventory.equipmentOrderer`: list, get, order, grouping list/get

## UX patterns

* Hide and block access to pages when minimum required permissions are missing
* Conditionally render buttons and controls based on permissions
* Backend filters data per IAM; UI should gracefully handle hidden details

## Related pages

<CardGroup cols={2}>
  <Card title="Customer Users" href="/user-docs/iam/customer-users" icon="user-plus">
    Invite and manage customer users
  </Card>

  <Card title="User Groups" href="/user-docs/admin/user-groups" icon="users">
    Create groups for customer access
  </Card>

  <Card title="Bindings" href="/user-docs/admin/bindings" icon="link">
    Grant customer groups access to resources
  </Card>

  <Card title="Roles" href="/user-docs/admin/roles" icon="key">
    View available customer roles
  </Card>
</CardGroup>
