Start from a report
A company is made from a scan report or from a watch. Run the scan, then press "Set up your company" on the report.
Opening your company.
Keep the address of this page. It is the way back to these settings, and anyone who has it can change them.
1. Sign in with your work accounts
Your identity platform is the system your company uses to sign people in, such as Microsoft Entra, Okta, Google, Keycloak or Ping. This works with any of them, through OpenID Connect, the sign-in standard they all support.
TheGuardianAgent never sees a password. Your platform signs the person in and tells us who they are.
Sign-in is on. Give your staff this address:
What to do in your identity platform
- Make a new app. Choose a web app that signs people in with OpenID Connect.
- Give the app this redirect address. It is where your platform sends a person back after they sign in.
- Copy three values from the app into the form below: the issuer address, the client ID and the client secret.
- Choose who in your company may use the app. Only those people can sign in.
Microsoft Entra
- Open entra.microsoft.com. Go to Entra ID, App registrations, New registration.
- Name it TheGuardianAgent sign-in. Under Supported account types choose Single tenant only.
- Under Redirect URI choose Web and paste the redirect address. Select Register.
- Client ID: on the Overview page, copy Application (client) ID.
- Issuer address: copy Directory (tenant) ID from the same page and put it into this address:
https://login.microsoftonline.com/YOUR-TENANT-ID/v2.0 - Client secret: go to Certificates & secrets, Client secrets, New client secret. Copy the Value. Microsoft shows it once.
- For approvers: go to Token configuration, Add groups claim, and choose Security groups. Microsoft then sends each group as its Object ID. Enter the group's Object ID as the approvers group below, or enter the group's name if you also send your people and groups in part 2.
Okta
- In the Admin Console go to Applications, Applications. Click Create App Integration.
- Choose OIDC - OpenID Connect as the sign-in method, and Web Application as the type. Click Next.
- Under Sign-in redirect URIs paste the redirect address. Under Assignments choose who may use it. Click Save.
- Client ID and client secret: copy them from the app's General tab.
- Issuer address: your Okta address, for example
https://yourcompany.okta.com - For approvers: on the Sign On tab, click Edit in the OpenID Connect ID Token section. Leave the groups claim name as
groups, choose Matches regex and enter.*. Click Save. Then enter the group's name as the approvers group below.
- Open the Google Cloud console as someone in your Google Workspace. Go to APIs & Services, Credentials. Create an OAuth client ID of the type Web application.
- Under Authorized redirect URIs paste the redirect address.
- Set the app's user type to Internal, so only people in your organisation can use it.
- Client ID and client secret: copy them from the client's page.
- Issuer address:
https://accounts.google.com - Email domain: enter your company's domain below. It is required for Google. Google signs in any Google account, so the domain is how TheGuardianAgent knows a person is from your company.
- For approvers: Google does not say which groups a person is in when they sign in. Send your people and groups in part 2, then enter the group's name below.
- What a signed-in person can do. Read your reports and your watch. People in the approvers group can also approve an app, which names its owner and switches a held app back on.
- What they cannot do. Change these settings, delete a report, share a report, or stop the watch. Those need the address of this page or of the report.
- What TheGuardianAgent keeps. The client secret, stored encrypted. For each sign-in: the person's name, email and role, for 8 hours.
2. Your people and groups
Your identity platform can send TheGuardianAgent your list of people and groups, and keep it up to date. Reports then show how many people are in each group, and who they are.
This uses SCIM, the standard that identity platforms use to send people and groups to another product. TheGuardianAgent keeps each person's name, work email and whether they are active, and each group's name and members. Nothing else.
What to give your identity platform
Microsoft Entra
- Open entra.microsoft.com. Go to Entra ID, Enterprise apps. Select New application, then Create your own application.
- Name it TheGuardianAgent people. Choose "Integrate any other application you don't find in the gallery". Select Add.
- Select Provisioning, then New configuration.
- Paste the address into Tenant URL and the token into Secret Token. Select Test Connection, then Create.
- On the Users and groups tab, add the people and groups to send.
- Select Start provisioning. Microsoft sends changes about every 40 minutes.
Okta
- Open the app you made for sign-in. On the General tab, in App Settings, click Edit. Set Provisioning to SCIM and click Save. If Okta shows no SCIM choice for that app, ask Okta support to turn the feature on.
- On the Provisioning tab, under Settings, Integration, click Edit.
- Paste the address into SCIM connector base URL. Enter
userNameas the unique identifier field for users. - Tick Push New Users, Push Profile Updates and Push Groups.
- Set Authentication Mode to HTTP Header and paste the token.
- Assign people to the app, and on the Push Groups tab choose the groups to send.
Google and other platforms
- Look in your platform for user provisioning with SCIM to a custom app. Google's admin help calls it "Automated user provisioning with custom SCIM profiles".
- Give it the address and the token above. The token is sent as a bearer token.
- If a step does not work, write to hello@theguardianagent.ai.
Groups
3. Reports and watch
These belong to your company. A person who signs in can read them.
No report is attached. A report is kept for 30 days from the day of the scan.
Delete this company
This deletes the sign-in settings, every sign-in, and the people and groups that were sent. Your reports and your watch stay, and are no longer attached to a company.