Skip to main content

Admin Portal

Empower your customers to configure settings for SCIM Provisioning by themselves

The Admin Portal allows enterprise organizations to easily configure connections between your app and their identity or directory providers. By providing a self-serve portal, you can reduce back-and-forth communication between your team and your customers' teams. Scalekit fully hosts and manages the Admin Portal, offering two integration options:

  1. No-Code Admin Portal: Generate a shareable link to the portal and distribute it to your customers through regular communication channels.
  2. Embedded Admin Portal: Seamlessly integrate the Admin Portal into your application using an iframe.

1. No-Code Admin Portal

Log in to your Scalekit Dashboard.

  1. In the Scalekit Dashboard, navigate to the "Organizations" tab.
  2. Select the organization you want to provide with access to the portal.
  3. Click "Generate Link" to create a new, shareable Admin Portal link.
Integrate via Shareable Link

Important Considerations

  • This link is valid for 7 days but can be revoked at any time from the dashboard for security purposes.
  • The link can be distributed through communication channels such as email, Slack, etc
  • Exercise caution, as anyone with this link can view and update their organization's SCIM provisioning settings
Integrate via Shareable Link

2. Embedded Admin Portal

Embedding the Admin Portal within your app provides advantages such as Easy discoverability, Convenient access for making changes on the go, and Reduced navigation barriers for IT admins.

Integrate via API

Install the Scalekit SDK, which includes the generatePortalLink() method:

Use the Generate Portal Link API to create a unique and embeddable Admin Portal link for an organization:

Generate Portal Link
//Install and Import Scalekit SDK

async function generatePortalLink(orgID) {
  const link = await scalekit.organization.generatePortalLink(orgID);
  console.log(JSON.stringify(link, null, 2));
}

The API will return a JSON object containing the

location property, which is the URL to the Admin Portal.

Generate Portal Link (Response Object)
{
  "id": "8930509d-68cf-4e2c-8c6d-94d2b5e2db43",
  "location": "https://random-subdomain.scalekit.dev/magicLink/8930509d-68cf-4e2c-8c6d-94d2b5e2db43",
  "expireTime": "2024-10-03T13:35:50.563013Z"
}

Access the location property and set it as the src attribute of an iframe in your web pages.

Embed Admin Portal in an Iframe
<body>
  <h1>Admin Portal (Embed)</h1>
  <iframe
    src="https://random-subdomain.scalekit.dev/magicLink/8930509d-68cf-4e2c-8c6d-94d2b5e2db43"
    width="100%"
    height="600px"
    frameborder="0"
  >
  </iframe>
</body>

Important Considerations

  1. The generated link is designed for one-time use and expires after 5 minutes or upon its initial access.
  2. Ensure your domain is listed as one of the Redirect URIs in the Scalekit Dashboard > API Config.
  3. Once activated, the IT admin can configure SSO for an extended period. The session remains active until the setup is complete.
  4. For local development, use tools like Svix or Ngrok to expose localhost URLs to the internet. Register the generated HTTPS URLs in the Scalekit Dashboard > API Config, and access the webpage using the Svix or Ngrok URL.

The Admin Portal can be customized to match your brand's logo and colors. Refer to the Customize Admin Portal Guide for more information.


Is this page helpful? Yes No