# Light Integration

Integrating Light with Sphere enables:\
a) seamless data imports, and\
b) real-time tax calculation.

This guide walks you through connecting your Light app to Sphere for a seamless, secure integration. It also explains how to generate your Sphere Tax API key within Sphere to enable accurate and reliable tax calculations.

### Part 1: Configure Data Synchronization from Light to Sphere

Follow the steps below to get started:

1. In your Sphere account, click on the **Connect** button on the Light tile.

<figure><img src="/files/G6wT5ilMv5evBxLLjfqS" alt=""><figcaption></figcaption></figure>

2. In Light, navigate to **Settings → API Keys** and click **+ Create Key**. Enter a name for the API key and assign it the **Admin** role. After the key is created, click **Copy Key** to copy it to your clipboard.<br>

<figure><img src="/files/Wcy29ZAM8eDVU4cVByrP" alt=""><figcaption></figcaption></figure>

3. Navigate back to Sphere, and enter the Light API Key created into Sphere.

<figure><img src="/files/zkvOaGsu3jfPytMVJGgp" alt=""><figcaption></figcaption></figure>

3. You’re all set! Once the connection is successful, data will start importing, and your products will appear in Sphere shortly thereafter.

<figure><img src="/files/1GYUjhta8PUeN6KqYUUw" alt=""><figcaption></figcaption></figure>

### Part 2: Configure Sphere Tax API Key for Tax Calculation

1. Click the **"Edit"** button on the Light integration card to make changes.

<figure><img src="/files/Cn6WJFzkrH1Wnf5t14Q6" alt=""><figcaption></figcaption></figure>

2. This will open a modal displaying the integration details. Click **"Generate API Key"** to create a new key.

<figure><img src="/files/WInWLGkAFp2Aihqx2skn" alt=""><figcaption></figcaption></figure>

3. Follow the steps to generate a new API key. Be sure to store the key securely, as it cannot be viewed again later. You will need to share this key with the Light team so they can configure it in your account.

<figure><img src="/files/A7oYvASYKvIbcJ6KzjwX" alt=""><figcaption></figcaption></figure>

4. Ensure all your 'Subscribed Regions' in Sphere have 'Tax Calculations' settings switched to Yes (see video [here](https://www.loom.com/share/6254e72b130c44808a59513046ee60ea?sid=463c87f3-0683-4622-a479-0f960620d332) on how to ensure this is done).

<figure><img src="/files/eaylOrVkAY1p4RxyrvoK" alt=""><figcaption></figcaption></figure>

***


---

# 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.getsphere.com/features/integrations/prebuilt-connectors/light-integration.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.
