Skip to main content

Walkthroughs

Walkthroughs

Hands-on guides for developers new to Permit.io. Work through them in order: build a role-based access control (RBAC) policy, connect the API and SDK, sync users, run checks against a policy decision point (PDP), build attribute-based (ABAC) and relationship-based (ReBAC) policies, sync application data, run advanced queries, and add access requests.

All walkthroughs

If you're new to Permit, start with the first guide and follow the numbers.

  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