# Data Synchronization

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

<figure><img src="https://3041868494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq07QJKSGYw39fbQ1m7P7%2Fuploads%2FknsaCAEgXWX9qGX8rlPy%2Funknown.png?alt=media&#x26;token=f0bd1112-db7f-40b7-bf5d-2a248d4a9e31" 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="https://3041868494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq07QJKSGYw39fbQ1m7P7%2Fuploads%2FRFfVwlgGuSeEDH2hjyT2%2Funknown.png?alt=media&#x26;token=7be818d5-7884-485a-a36c-4e65bad09fd8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3041868494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq07QJKSGYw39fbQ1m7P7%2Fuploads%2FRgkcQ9QeJGzcLAisEPG1%2Funknown.png?alt=media&#x26;token=589ae54b-c846-4626-b538-7d1cf66218d5" 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>
