User impersonation tool
Copied link
A tool that allows an admin to impersonate a user.
Components
TableDialogTextInputButtonStack
2+
Integrations
WorkOS

1
# Template: User impersonation tool
2
3
## Next steps
4
5
- Navigate to the user_impersonation_tool directory: `cd user_impersonation_tool`
6
- Develop your template locally: `airplane dev`
7
- To use your own WorkOS API Key:
8
- Get your Intercom auth token by following this guide: https://workos.com/docs/reference/api-keys
9
- Create a config variable in Airplane for `WORKOS_API_KEY`: https://docs.airplane.dev/platform/configs
10
- Also add the config variable to your dev config file in order to develop tasks locally: https://docs.airplane.dev/dev-lifecycle/dev-config-file#add-a-config-variable
11
- Uncomment `WORKOS_API_KEY` environment variable in `impersonate.task.yaml`
12
- Remove mock data in `impersonate.ts`
13
- Optionally, you can rewrite `generateSignInLink` to use your authentication provider of choice
14
- Deploy your tasks and view: `airplane deploy --yes`
15
16
## Resources
17
18
- Visit the Airplane docs to learn more about how to build views: https://docs.airplane.dev/views/getting-started
19
- WorkOS API reference: https://workos.com/docs/reference
Have a template suggestion? Let us know!