Skip to content

Xata

The Xata integration connects your Xata organization to Oneleet, syncing your organization’s members as user account assets and the organization itself as an asset. This lets Oneleet monitor who has access to your Xata databases and whether sign-in goes through your identity provider.

  • Xata organization members (user accounts), including each member’s role
  • Your Xata organization, including whether single sign-on (SSO) is enforced for every current member’s email domain

Xata’s API doesn’t report whether individual members use two-factor authentication, so Oneleet doesn’t monitor it.

To set up the Xata integration, navigate to Integrations > Add integration > Xata.

Oneleet connects with your Xata Organization ID and an organization API key. Only an organization Admin can create API keys.

  1. In the Xata console, open Organization Settings → General and copy the Organization ID.
  2. Open Organization Settings → API keys and select New API Key.
  3. Enter a name, leave Expiration set to No expiration, set Organization to Read-only, and leave every other scope at No access.
  4. Select Create API key and copy the key. Xata shows it only once.
  5. Paste the Organization ID and API key into the form in Oneleet and click Connect.

Revoking or deleting the key in Xata disconnects Oneleet until you enter a new one.

SSO is a paid add-on in Xata. Until it’s enabled for your organization, Oneleet reports the SSO monitor as failing. See Xata’s SSO documentation for how to enable and enforce it.

Require SSO for every domain used by your organization’s members, including external collaborators. Subdomains need their own configuration. The monitor won’t pass if we can’t determine a member’s email domain or no members are returned.