Set up a Twingate connector
Capabilities
Resource | Sync | Provision |
---|---|---|
Accounts | ✅ | |
Groups | ✅ | ✅ (locally created groups only) |
Roles | ✅ |
Available hosting methods
Choose the hosting method that best suits your needs:
Method | Availability | Notes |
---|---|---|
Cloud hosted | ✅ | A built-in, no-code connector hosted by ConductorOne. |
Self-hosted | A connector hosted and run in your own environment. |
Gather Twingate credentials
Each setup method requires you to pass in credentials generated in Twingate. Gather these credentials before you move on.
A user with the Admin role in Twingate must perform this task.
Generate a new API key
Log into Twingate as an Admin user and click Settings.
Click API.
Click Generate Token. Give the API token a label, such as ConductorOne.
Select the appropriate permission level for the API key:
- Read only to run access reviews on your Twingate users.
- Read & Write to provision group membership via ConductorOne and run access reviews.
Click Generate. (Setting the Allowed Range is not required.)
The new API key is generated for you. Click Copy and save the key.
That’s it! Next, move on to the instructions for your chosen setup method.
Set up a Twingate cloud-hosted connector
To complete this task, you’ll need:
- The Connector Administrator or Super Administrator role in ConductorOne
- Access to the set of Twingate credentials generated by following the instructions above
In ConductorOne, click Connectors > Add connector.
Search for Twingate and click Add.
Choose how to set up the new Twingate connector:
Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
Add the connector to a managed app (select from the list of existing managed apps)
Create a new managed app
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.
If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
Click Next.
Find the Settings area of the page and click Edit.
Paste the API key you into the API key field.
In the Domain field, enter your Twingate domain.
For example, if your Twingate instance address is
sampledomain.twingate.com
, enter sampledomain in the Domain field.Click Save.
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Twingate connector is now pulling access data into ConductorOne.
A user with the Connector Administrator or Super Administrator role in ConductorOne and Admin role in Twingate must perform this task.
Step 1: Generate a new API key
Log into Twingate as an Admin user and click Settings.
Click API.
Click Generate Token. Give the API token a label, such as ConductorOne.
Select the appropriate permission level for the API key:
- Read only to run access reviews on your Twingate users.
- Read & Write to provision group membership via ConductorOne and run access reviews.
Click Generate. (Setting the Allowed Range is not required.)
The new API key is generated for you. Click Copy.
Step 2: Add your Twingate credentials to ConductorOne
In ConductorOne, navigate to the Twingate connector by either:
Clicking the Set up connector link in the email you received about configuring the connector.
Navigate to Connectors > Twingate (if there is more than one Twingate listed, click the one with your name listed as owner and the status Not connected).
Find the Settings area of the page and click Edit.
Click Save.
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Twingate connector is now pulling access data into ConductorOne.
Set up a Twingate cloud-hosted connector using Terraform
As an alternative to the cloud-hosted setup process described above, you can use Terraform to configure the integration between Twingate and ConductorOne.
See the ConductorOne Twingate integration resource page in the ConductorOne Terraform registry for example usage and the full list of required and optional parameters.