Skip to main content

Walkthroughs

Walkthroughs

Short, hands-on guides that cover the fundamentals of Permit, in order: your first RBAC policy, syncing users, running checks against a PDP, ABAC and ReBAC policies, and access requests.

All walkthroughs

Ten guides, in the order we recommend if you're new to Permit.

  1. Configure your first RBAC policyCreate resources, actions, and roles, and decide which role can do what.
  2. Use the Permit API and SDKGet an API key, install an SDK, and connect your application to Permit.
  3. Sync your first userSync a user from your identity provider, assign roles, and add them to tenants.
  4. Run your first policy checkAdd an enforcement point with permit.check() on the Cloud PDP, change permissions, and test again.
  5. Run a local PDPPull and run the PDP container next to your application for local decisions.
  6. Create an ABAC policyDefine user sets and resource sets from attributes, then write policy rules on them.
  7. Create a ReBAC policyCreate resource roles and relations, then define role derivations.
  8. Sync application dataSync users, tenants, role assignments, resource instances, and relationship tuples.
  9. Run advanced authorization queriesRun bulk checks, filter objects, list authorized users, and get user permissions.
  10. Add access requests and approvalsBuild the policy, configure Permit Elements, and embed access requests in your app.

Get help