> For the complete documentation index, see [llms.txt](https://chatboz.gitbook.io/chatboz-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatboz.gitbook.io/chatboz-docs/plugin/data-synchronization.md).

# Data Synchronization

Follow these steps:\
\
1\. In your WordPress Dashboard, go to “AI Chatboz” → “Data Synchronization”.

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

2\. Under “Select custom post types to sync”, choose the post type(s) you want to include and click “Next”.

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

\
3\. Select specific posts or pages you want to sync, then click “Sync Selected Posts”.

<figure><img src="/files/79wrxXmJhqHoleGG7KGK" alt=""><figcaption></figcaption></figure>

\
4\. Once synchronization is complete, the data is now available in your Chatboz system — try chatting via the widget to test it!\ <br>

### 5. 🔧 Troubleshooting

Issue 1: Chatbot Not Displaying

\
Possible causes:\
\- API Key not configured or invalid.\
\- Shortcode missing or incorrect.\
\- Theme or plugin conflict.\
Solutions:\
\- Check API Key in AI Chatboz → API Key Settings.\
\- Ensure shortcode \[physcode-chat-bot] is added correctly.\
\- Check browser console (F12) for JavaScript errors.\
\- Temporarily disable other plugins to detect conflicts.\ <br>

Issue 2: Widget Not Appearing

\
Check the following:\
\- “Enable Chat Widget” is turned on.\
\- API Key is configured.\
\- Note: The widget does not appear in Admin Dashboard.\ <br>

Issue 3: API Connection Error

\
\- Verify your server has an active internet connection.\
\- Ensure no firewall blocks requests to api.chatboz.com.\
\- Enable debug log and check /wp-content/chatbot-debug.log.\ <br>

Issue 4: UI or Styling Issues

\
\- Clear browser cache (Ctrl + F5).\
\- Clear plugin cache (if using cache plugins).\
\- Check Custom CSS syntax for errors.\
\- Disable custom CSS temporarily to isolate the issue.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://chatboz.gitbook.io/chatboz-docs/plugin/data-synchronization.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
