> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-parschat.parstechai.com/user-manual/knowledge/wordpress-store/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-parschat.parstechai.com/_mcp/server. # Train from a WordPress store > Connect a WordPress + WooCommerce store with WooCommerce API keys so your robot answers from your products. ParsChat reads your products and store content through the WooCommerce REST API. You need your site address and a WooCommerce **Consumer Key** and **Consumer Secret**. > **Tip** > > This page trains the robot **on** your store’s content. To show the chat widget **on** your > WordPress site, see [WordPress plugin](/user-manual/integrations/wordpress-plugin). #### Create WooCommerce API keys In your WordPress admin, open the WooCommerce API settings (**WooCommerce → Settings → Advanced → REST API**) and create a key pair with **Read** access. Copy both the Consumer Key and the Consumer Secret. > **Warning** > > The **Consumer Secret is shown only once.** Save it before you close the page. #### Open the WordPress form in ParsChat In the panel, open your robot and go to the data sources page. Choose the **store data** section and open **Add WordPress information**. The page links to a *Guide to Adding WordPress and WooCommerce Information to ParsChat*. ![Store data sources](/_fern-img/6bab4ed354e6a754f32a93d5c5c97da3714d512041930f8318a721422569f1aa.webp) #### Enter the address and keys Put your site address in **Website URL**, then paste the **Consumer key** and **Consumer secret** into their fields. #### Train the robot Click **Train Bot**. ParsChat extracts your products and store content and adds them to the robot’s knowledge. #### Check the status On [Manage sources](/user-manual/knowledge/manage-sources), the store source should show **Trained**. ## "Invalid WooCommerce API credentials or URL" This means ParsChat could not reach your store with the details you entered. Check that: * the site address is complete and correct, including `https://`; * the Consumer Key and Consumer Secret come from **the same** key pair; * the key has **Read** permission. Fix the details and try again. > Connect a WordPress + WooCommerce store with WooCommerce API keys so your robot answers from your products.