@permitio/permit-js
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

permit-js

Permit-JS helps you use Permit ablities inside your own application

how to use Permit Elements?

In order to embed Permit Elements inside your own application you need to:

  1. Create Element config inside permit UI at https://app.permit.io/elements
  2. Get the code with the get code button
  3. Add this SDK into your own app using npm i --save @permitio/permit-js / yarn add @permitio/permit-js
  4. Import the permit instance with import permit from '@permitio/permit-js'; on your main page (the sooner the better)
  5. Login your users at permit (details instructions can be found at https://docs.permit.io/elements)
  6. Add the Iframe code you have copied from the get code button at stage 2
  7. WIN! you now have new elements inside your own application!

For more details check out owr docs site https://docs.permit.io

/@permitio/permit-js/

    Package Sidebar

    Install

    npm i @permitio/permit-js

    Weekly Downloads

    299

    Version

    0.4.4

    License

    MIT

    Unpacked Size

    40.9 kB

    Total Files

    26

    Last publish

    Collaborators

    • odedpermit
    • asafc