---
title: "Admin Portal"
description: "Provide a secure, fully customizable, and always up-to-date onboarding experience for your customers’ IT team with WorkOS Admin Portal."
url: https://workos.com/admin-portal
---

# Admin Portal

## Self-serve onboarding for your enterprise customers

A secure, fully customizable, and always up-to-date onboarding experience for your customers’ IT team.

[Add Admin Portal to your app](https://workos.com/signup)

[Read the docs](https://workos.com/docs/admin-portal)

## Because first impressions matter

Empower your customers to onboard with a secure self-serve Admin Portal. Set up SSO or Directory Sync, without back-and-forth support requests.

without Admin Portalwith Admin Portal

## Programmatically generate onboarding links

A Portal Link is a gateway to accessing the Admin Portal. Each Portal Link can be used to onboard enterprise customers with a secure self-serve experience.

[Read the docs](https://workos.com/docs/admin-portal)

[Get your API key](https://dashboard.workos.com/signup)

Node.jsRubyPythonGoPHPJava.NETcURL

```js
// Generate a Portal Link to a SSO connection
// and return to the app after it's done

import WorkOS from '@workos-inc/node';

const workos = new WorkOS('sk_example_123456');

const { link } = await workos.portal.generateLink({
  intent: 'sso',
  organization: 'org_01EHZNVPK3SFK441A1RGBFSHRT',
  returnUrl: 'https://example.com'
});
```

```ruby
# Generate a Portal Link to a SSO connection
# and return to the app after it's done

require 'workos'

WorkOS.key = 'sk_example_123456'

link = WorkOS::Portal.generate_link(
  intent: 'sso',
  organization: 'org_01EHZNVPK3SFK441A1RGBFSHRT',
  return_url: 'https://example.com'
)
```

```python
# Generate a Portal Link to a SSO connection
# and return to the app after it's done

import workos
from workos import client

workos.api_key = 'sk_example_123456'
workos.client_id = 'client_123456'

link = client.portal.generate_link(intent='sso', organization='org_01EHZNVPK3SFK441A1RGBFSHRT', return_url='https://example.com')
```

```go
// Generate a Portal Link to a SSO connection
// and return to the app after it's done

import "github.com/workos/workos-go/pkg/portal"

portal.SetAPIKey("sk_example_123456")

link, err := portal.GenerateLink(
  context.Background(),
  portal.GenerateLinkOpts{
    Intent: portal.SSO,
    Organization: "org_01EHZNVPK3SFK441A1RGBFSHRT",
    ReturnURL: "https://example.com"
  },
)
```

```php
// Generate a Portal Link to a SSO connection
// and return to the app after it's done

$this->ap = new AdminPortal();

$link = $this->ap->generateLink("org_01EHZNVPK3SFK441A1RGBFSHRT", "sso", "https://example.com");
```

```java
// Generate a Portal Link to a SSO connection
// and return to the app after it's done

import com.workos.WorkOS;

WorkOS workos = new WorkOS("sk_example_123456");

Link link = workos.portal.generateLink(
  GeneratePortalLinkOptions.builder()
    .intent(Intent.Sso)
    .organization("org_01EHZNVPK3SFK441A1RGBFSHRT")
    .return_url("https://example.com")
    .build()
);
```

```cpp
// Generate a Portal Link to a SSO connection
// and return to the app after it's done

WorkOS.SetApiKey("sk_example_123456");

var portalService = new PortalService();
var options = new GenerateLinkOptions
{
  Intent = Intent.SSO,
  Organization = "org_01EHZNVPK3SFK441A1RGBFSHRT",
  ReturnURL = "https://example.com"
};

var link = await portalService.GenerateLink(options);
```

```bash
curl --request POST \
  --url "https://api.workos.com/portal/generate_link" \
  --header "Authorization: Bearer sk_example_123456" \
  -d intent="sso" \
  -d organization="org_01EHZNVPK3SFK441A1RGBFSHRT" \
  -d return_url="https://example.com"
```

- ### Flexible API design
  Use the same interface to create both Single Sign-On and Directory Sync links.
- ### Pre-defined data structure
  Make sure that only resources belonging to the specified Organization can be managed
- ### Session management
  Don't worry about managing sessions. Portal Links expire 5 minutes after they’re created.

## ...or generate onboarding links without writing any code

Create an Admin Portal session in just a few clicks — no code required. Share the link as a part of account onboarding via emails, direct messaging or other channels.

[Read the docs](https://workos.com/docs/admin-portal)

## We keep updated docs, so you don’t have to

Every Identity Provider is different. Admin Portal has the latest setup documentation for your customer so that your team can focus on what they do best, building and supporting your product.

[Try a live demo](https://explore.workos.com/app/settings)

[Watch the launch video](https://www.youtube.com/watch?v=PZ-XdLamC1c)

- Docs for all supported identity and directory providers
- Step-by-step setup guides and screenshots
- Seamlessly integrated into your existing application
- Always up-to-date with the latest setup information

## Enable your customers to map their own attributes

IT admins best know the fields offered by their directory providers. Let them configure and map custom attributes depending on their company's requirements.

[Read the docs](https://workos.com/docs/dashboard/set-up-custom-attributes)

> “When I asked the team, how was the experience with WorkOS? They were just like, this is incredible.”

Sam Lambert

CEO

[Read more](https://workos.com/customers/planetscale)

> “What sold WorkOS was the Admin Portal. Our UI gives customers a link; they go to the Admin Portal, complete onboarding steps at their leisure, and never have to talk to us, making the onboarding process a breeze.”

Chris Pickett

Staff Engineer

[Read more](https://workos.com/customers/prefect)

A polished experience for your customers

Effortlessly connect any identity provider or directory

Customize the look and feel to match your brand

Host on your custom domain (CNAME)

Ephemeral links for each admin portal session

## Transparent pricing

Enable enterprise customers to onboard with a secure self-serve experience.

[View pricing](https://workos.com/pricing)

Free

for un-branded access

[Contact us for
custom branding](mailto:sales@workos.com?subject=Custom%20branding%20on%20Admin%20Portal)

- Single point of access for your customers
- Seemlessly integrated into your app
- Always up-to-date onboarding experience

[Admin Portal Quick StartJump into the docs and start building in minutes.](https://workos.com/docs/admin-portal/guide)[Introducing Admin PortalWatch this overview of the Admin Portal and how to get started.](https://www.youtube.com/watch?v=PZ-XdLamC1c)[Custom attribute mappingLearn how to map custom attributes to users in the Admin Portal.](https://workos.com/docs/dashboard/custom-attributes)
