> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# What Is the Difference Between Test and Live Data?

> Test your designed experience through Gameball on your staging/UAT environment before rolling it out on production.

## Test Data vs. Live Data

<AccordionGroup>
  <Accordion title="Test Data" icon="flask">
    These data are the ones used while you are testing your Gameball engagement experience before going live, mostly used by your team. Gameball will give you the ability to test the whole experience you designed on your staging/UAT environment. No need to care about deleting the test data that you have used during the integration cycle.
  </Accordion>

  <Accordion title="Live Data" icon="rocket">
    These data are the ones used once you start going live with Gameball on your platform, with the Gameball engagement experience exposed to your customers according to your configurations.
  </Accordion>
</AccordionGroup>

***

## How to Use the Test/Live Data

Your account will have 2 different **API Keys** — one for Test and the other for Live data. You can access your **API Keys** settings section in the Gameball Admin Dashboard through **Settings > Admin Settings > Account Integration**.

<Frame caption="API Keys in Account Integration settings">
  <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/integrate-gameball/test-live-api-keys.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=6457e1e189a98506ab715c52555e3883" alt="API Keys settings" width="2600" height="1502" data-path="images/product-docs/integrate-gameball/test-live-api-keys.png" />
</Frame>

You will find both your **Live API Key** and **Test API Key**.

<Tip>
  Use **Test API Key** on your staging/UAT environment and **Live API Key** on your production environment.
</Tip>

***

## Test/Live Data Dependency

Your designed and configured experience will be the same using both API Keys (tiers, campaigns, etc). The only difference will be with the below:

| Affected Area                     | Notes                                        |
| --------------------------------- | -------------------------------------------- |
| Analytics section                 | Tracked separately per environment           |
| Customers list                    | Separate customer records per environment    |
| Customers' Game Plan Achievements | Independent per environment                  |
| Customer Points Transactions      | Separate transaction history per environment |

***

## How to Switch Between Test and Live Data on the Dashboard

You can switch between live and test data from the **Admin Settings** in your Gameball Dashboard.

<Steps>
  <Step title="Open Admin Settings">
    Navigate to **Settings → Admin Settings** and stay on the **General** tab.
  </Step>

  <Step title="Locate the Test Data Section">
    Scroll to the **Test Data** section and click the toggle to switch modes.

    <Frame caption="Test Data toggle under Settings → Admin Settings → General">
      <img src="https://mintcdn.com/gameball/3mk7Kv2S20XVhcqI/images/product-docs/integrate-gameball/test-data-settings-toggle.png?fit=max&auto=format&n=3mk7Kv2S20XVhcqI&q=85&s=86cc1b789672bb24103eeb1f86411964" alt="Test Data toggle in Admin Settings" width="1024" height="512" data-path="images/product-docs/integrate-gameball/test-data-settings-toggle.png" />
    </Frame>
  </Step>

  <Step title="Confirm the Data View">
    A **Data View** confirmation pop-up appears with a dropdown. Select either **Live Data** or **Test Data**, then click **Save**.

    <Frame caption="Data View confirmation pop-up">
      <img src="https://mintcdn.com/gameball/3mk7Kv2S20XVhcqI/images/product-docs/integrate-gameball/test-data-confirmation-popup.png?fit=max&auto=format&n=3mk7Kv2S20XVhcqI&q=85&s=740db046ca585f3136bb30b7b5518b3e" alt="Data View confirmation pop-up" width="1024" height="510" data-path="images/product-docs/integrate-gameball/test-data-confirmation-popup.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  While **Test Data** mode is active, a yellow banner appears at the top of every dashboard page indicating that you are currently viewing test data. Click the **Go to Settings** link in the banner to jump straight back to the Test Data toggle and switch modes whenever you need.
</Note>

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Publish Gameball Experience on Your Store" icon="rocket" href="/product-documentation/guides-strategies-faqs/supportive-guides/publish-gameball-experience">
    Publish the Gameball experience and widget on your Shopify store.
  </Card>

  <Card title="Understand Your Customers' Basic Analytics" icon="chart-line" href="/product-documentation/analytics/introduction-to-gameball-analytics">
    Introduction to Gameball Analytics.
  </Card>
</CardGroup>
