# Test your agent internally

Source: https://support.storeconnect.com/articles/test-your-agent-internally · Last modified 21 August 2026

:::note
This topic relates to using AI agents to service your customers, not how to [use agents for building on StoreConnect](use-ai-agents-with-storeconnect).
:::

There are a number of ways to test an agent: in the Agent Builder, Testing Center or via the live agent. The procedure below explains testing via the Agent Builder.

## Set the testing context

1.  Open the agent in the Agent Builder. 

2.  Open the **Conversation Preview** screen.

    ![Conversation preview for agent testing](https://res.cloudinary.com/hzkr6fi81/image/upload/v1765236275/knowledge/AgentforceAI/Test_your_agent_internally_1-conversation-preview_aiumez.png) 

3.  Select the eye icon. This allows you to enter **Context Variables** to test. 
4.  Copy and paste your StoreConnect Store record Id into the **storeId** variable in the list. This will let the agent know which store’s context to use. 
5.  Click **Apply**.

## Test the agent

1.  In the **Conversation Preview** screen, type in some test questions and check the responses. For example, you could start with “Hi, what products do you sell?” You should see a response with the products from your store.

    ![Text agent context and more](https://res.cloudinary.com/hzkr6fi81/image/upload/v1765236276/knowledge/AgentforceAI/Test_your_agent_internally_2-edit-preview-conditions_bpdwov.png) 

2.  Ask various questions using varied words and phrasing to see how the agent responds. 

3.  Make a note of any odd or incorrect answers. You can see the internal logic of the agent in the Plan Tracer section. You may need to tweak the agent topics to correct any errors.

4.  Check the agent user’s email to see if any errors were returned.


## Activate the agent

-   Once the Agent is responding correctly, you can activate the agent.

-   Next, configure your store for the agent.

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/test-your-agent-internally