-
Notifications
You must be signed in to change notification settings - Fork 0
NetBird First time set‐up
hdub-tech edited this page Jul 22, 2025
·
1 revision
- Navigate to https://netbird.io.
- Click the Get Started - Free button.
- Login with your Google/Microsoft/Github SSO (or click the Sign Up link if you don't have a supported SSO. Note that those are not the only NetBird supported, but some requiring logging in to do initial set-up, like OKTA).
- Read the Privacy Policy and the Terms of Service.
- Click Continue.
- You will be prompted to install the Netbird agent on a device to finish the server installation. See next section.
Note
I have not found a way around this screen, even by modifying the URL. I am probably going to open an issue for it, because what if I wanted to set everything up en masse with setup keys?
- Install NetBird on one host using the instructions in the Installation docs.
- Start NetBird on the host and login using the same credentials used on the server.
- For SSO based logins, click Accept to allow Netbird to access your profile and email address.
The following are recommended modifications from defaults:
- Settings > Authentication > Require login after disconnect : ENABLE
- MFA: ENABLE (If SSO provider does not support MFA)
Tip
The following might be out of date. The NetBird > Integrations > Google Workspace section should guide you through the process.
- Sign in to Google Cloud Console
- From the Project Picker (CTRL+O), select your Organization.
- Navigate to IAM & Admin > IAM > Allow tab > View by principals sub-tab and filter by
Role: Organization Administrator OR Role:Organization Policy Administrator - Ensure your user or one of Your Groups is in the list.
- From the Project Picker (CTRL+O), select New Project.
- Set the Project name as
NetBirdand ensure the Organization and Location is correct. - Click Create.
- In the Created Notification pop-up, click Select Project OR From the Project Picker, select NetBird.
- Navigate to APIs & Services > Library. In the left Category list, choose Google Workspace. Click on the
Admin SDK API(Alternatively, you could directly search for that API from the Library page). - Click Enable.
- Navigate to APIs & Services > Organization Policies.
- In the filter box above the table, choose:
ID: iam.disableServiceAccountKeyCreation. IF Enforcement state is Active, then do the following: click the triple dots in the Actions column > Edit policy. Select Override parent's policy > Add rule > Enforcement: Off > Done and then click Set policy.
- If not already in the NetBird project, from the Project Picker (CTRL+O), select NetBird.
- Navigate to APIs & Services > Credentials.
- Click Create Credentials > Service account
- In the form:
-
Service account name:
NetBird -
Service account ID:
netbird(auto-populated) -
Service account description:
Syncs users and groups from Google to NetBird - To save time later, copy the Email address field off.
-
Service account name:
- Click Done.
- Click on the newly created Service Account name.
- Navigate to the Keys tab, and click Add Key > Create new key. Select JSON and click Create.
Warning
You might get a "Service key creation disabled" message here. If you do, see step 8 in the previous section, then return and repeat this step.
- The key will be downloaded on your device. Click Close in the dialog.
- Sign in to Google Admin Console
- Navigate to Account > Admin roles.
- Click Create new role
- Name: Users and Groups Admin API ReadOnly
- Description: Used for syncing users and groups to external services
- Click Continue.
- Admin console privileges: Search "admin api"
- Admin API privileges: Search "Read"
- Select:
- Groups > Read
- Users > Read
- Click Continue
- Click Create Role (NOTE: This screen didn't display the privileges correctly but it did create correctly)
- Within the newly created role, in the Admins section, click ASSIGN ROLE.
- Click Assign service accounts
- Paste the NetBird google cloud project service account email address and click ADD
- Click Assign role.
- In Google Admin Console, navigate to Account > Account Settings
- Note the Customer ID for later.
- NetBird > Integrations > Google Workspace > Get Started
- Click Continue until you get to the "Get your service account email" page. Paste your service account email address in this field.
- Click Continue until you get to the "Create service account key" page. Upload the service account key json file here.
- Click Continue until yo uget to the "Enter Customer ID" screen. Paste the Customer ID from the previous section here.