# Connect your Accounts

## What is this?

The  Sparx SaaS platform uses multiple information sources to give you a wholistic view of the usage for your organization's SaaS apps. The main component is wherever your company's business accounts are hosted. Many of our users use both Google (where they create and host business emails) and Okta (where they host their SSO). Combining these two (or Microsoft + Okta) provides the best picture into usage.

## How do I set this up?

{% tabs %}
{% tab title="Okta" %}
When you go to connect Okta on the Sparx Platform page, you will need to input your Okta domain and API token.

<figure><img src="/files/NFjzJTDsZhHpCxLgMUuD" alt="" width="313"><figcaption></figcaption></figure>

1. Finding your Okta Domain

   1. Wherever you login or use Okta, this will be the domain of your account<br>

   <figure><img src="/files/6eHDpFzZJkVJB9c3W0mS" alt="" width="287"><figcaption></figcaption></figure>
2. Finding your API token
   1. In your Okta Admin dashboard, navigate to **Security > API** in the menu bar
   2. In your API table, choose **Tokens**, then **Create token**<br>

      <figure><img src="/files/DVLXEszWOolYnuo43sbW" alt="" width="363"><figcaption></figcaption></figure>
   3. Name your token "Sparx" and click **Create token**
   4. The popup shows you your API key. You can click the Copy button and paste this into the API Token box in Sparx<br>

      <figure><img src="/files/jxtWHaAKON2aQi15sRfo" alt="" width="268"><figcaption></figcaption></figure>

{% endtab %}

{% tab title="Google" %}
{% hint style="warning" %}
Note: This must be completed by a Google Workspace Admin
{% endhint %}

In the Sparx SaaS setup page or Accounts page, click **Google Workspace** to provide permission to connect this account.

{% hint style="info" %}
Since Google Workspace does not track login events for accounts not on your SSO (e.g. accounts that sign into apps with Sign in with Google, or just a username and password), we offer the Sparx Chrome Extension.
{% endhint %}

To get the most accurate usage data for your organization, please download our [Sparx extension](/sparx-documentation/getting-started/saas/sparx-chrome-extension.md) to your organization.
{% endtab %}

{% tab title="Microsoft" %}
{% hint style="warning" %}
Note: This must be completed by a Microsoft Azure Admin
{% endhint %}

In the Sparx SaaS setup page or Accounts page, click **Microsoft Azure** to provide permission to connect this account.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usesparx.com/sparx-documentation/getting-started/saas/connect-your-accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
