Wonderchat Documentation
  • ๐Ÿ‘‹Welcome to Wonderchat
  • Overview
    • โš–๏ธPricing
    • โœจOur Features
    • ๐Ÿ”Content Overview
  • Setup Guides
    • ๐Ÿ“ชSetting up your Chatbot
      • Creating Your First Chatbot
      • How to set-up a Spontaneous Greeting Message
      • Setting up Multi-lingual Chatbots
      • How to Pick Between Source Citations Options For Your Chatbot
      • Add Suggested Questions to your Chatbot
      • Selecting Between AI models for your chatbots
      • How to Crawl and Update Private Sites
      • How to Customize Your Notification Settings for Your Chatbot
    • ๐Ÿค–Training your Chatbot
      • How to add or delete webpages or websites from your chatbot
      • How to manually update your Chatbot website link for Re-Crawling
      • How to use PDF and website links simultaneously as data sources for your chatbot
      • How to upload Videos and Audio files into Wonderchat
      • How to add or delete PDFs from your chatbot
      • Writing Support Documentation for AI Chatbots
    • ๐Ÿ–ฅ๏ธAdding your Chatbot to your website
      • How to Embed a Chat Widget
      • How to Embed a Chat Screen
      • Embedding for Wix
      • Embedding for Shopify
      • Embedding for WordPress
      • Embedding for Drupal
      • Embedding for Webflow
    • โœ๏ธCorrecting your Chatbot
      • How to Set Up Chatbot Corrections
      • How to Resolve Pending Corrections
      • Export and Import Corrections
    • ๐Ÿ’…Styling your Chatbot
      • How to Adjust Chat Widget Size
      • Customizing Your Chatbot's Style and Color
      • Using Custom CSS to style your chatbot
    • ๐Ÿ‘จโ€๐Ÿ’ผHuman Handover for your Chatbots
      • AI Chatbot Handover to Human Support via Email
      • How to Set Up Live Chat within Wonderchat
    • ๐Ÿ“‡Collecting Leads with your Chatbot
      • How to set-up leads generation sequences
      • How to collect user names, emails and phone numbers from users
      • Turning on email notifications for every new lead collected
      • [For Enterprise Users] How to Route Chats by Topic to Sales Representatives
    • ๐ŸคSharing your Chatbot
      • How to Share Your Chatbot Publicly
      • How to Add Team Members to Wonderchat
    • ๐Ÿ”‹Using Chatbot Tools
      • Set-up Custom Chatbot Tools
    • โš™๏ธAdding Chatbot Workflows
      • Set-up Chatbot Workflows
  • Integration Guides
    • Active Campaign
    • Calendly
    • Freshdesk
    • HubSpot
      • Adding Wonderchat Tags to Hubspot
    • Shopify
    • Slack
      • Slack (via Zapier)
    • Twilio
    • WhatsApp
    • Zapier App
    • Zendesk
    • Google Drive
    • Microsoft Sharepoint
  • FAQ
    • How To Exclude VAT/GST Charge at Checkout
    • How To Exclude VAT/GST Charge after Checkout (via Tax Refund)
    • How to Apply a Promo Code at Checkout
    • Upgrading Wonderchat Subscription
Powered by GitBook
On this page
  • Step 1: Download a Chrome Extension
  • Step 2: Log into your private website
  • Step 3: Use the Cookies extension within your logged in private website
  • Step 4: Add your copied session cookie text into your Wonderchat Bot
  • โš ๏ธ Note: If the chatbot crawl fails โ€ฆ
  • Step 5: Add more private pages into your Wonderchat Bot

Was this helpful?

  1. Setup Guides
  2. Setting up your Chatbot

How to Crawl and Update Private Sites

A Guide on How to Crawl Password Protected Webpages

PreviousSelecting Between AI models for your chatbotsNextHow to Customize Your Notification Settings for Your Chatbot

Last updated 7 months ago

Was this helpful?

The website with a lot of rich content that you would like to crawl may be behind a login authentication page.

To bypass this login authentication, you have to follow the steps below and also download an extension. Please also ensure that you have the full authority and right to crawl a password protected site.


Step 1: Download a Chrome Extension

Download a chrome extension which would help you to fetch a session cookie allowing Wonderchat access to crawl your site.

Once you have downloaded the extension successfully, it will show up on your side bar.

Step 2: Log into your private website

Log into your password protected website. For instance, if you are looking to crawl a private Wordpress community site so you have to be logged into the website to save the session cookie.

Step 3: Use the Cookies extension within your logged in private website

After you have logged into your private website, open the โ€œGet cookies.txt LOCALLYโ€ extension.

Set โ€œExport Formatโ€ as JSON. This is critically important, as the default format is set as โ€œNetScape.โ€

Click copy to copy your session cookie to your clipboard

Step 4: Add your copied session cookie text into your Wonderchat Bot

Go back to your Wonderchat dashboard, click on โ€œCreate Chatbotโ€ and "Edit Chatbot > Chatbot Settings > Data Sources"

Enter the link to your website that requires a login.

Adjust the settings of the crawl, if you only want to crawl one page or a sub-directory from your private site, remember to specify doing so.

Under โ€œAdvanced Settingsโ€, paste the previously copied Session cookie into the field.

Hit โ€œcreateโ€ to create a chatbot trained on your private website data. A successful crawl would allow the chatbot to crawl pages shown in the โ€œpages crawledโ€ column.

โš ๏ธ Note: If the chatbot crawl fails โ€ฆ

  • Many websites handle authentication differently. While we have tried to support as many websites as possible, edge cases may still fall through.

Step 5: Add more private pages into your Wonderchat Bot

To add more private pages to Wonderchat, you can click on the โ€œadd pagesโ€ section. Enter the link of the website you want to crawl.

Always remember to copy and paste your session cookie within the advanced settings button for the chatbot to be able to crawl the private pages.

Once the session cookie is added, click on 'confirm' to add the new page into your chatbot.


If you have any more questions, feel free to reach out to us at support@wonderchat.io

Download the chrome extension at this link: and click on "Add to Chrome". This tool downloads cookies locally into your server so it would allow you to safely store the cookie.

If your website is still unable to be crawled, please reach out to us at and we will do our best to assist you.

๐Ÿ“ช
Get cookies.txt LOCALLY
https://wonderchat.io/contact
An example of a wordpress private community that we have logged into
Click on the getcookies.txt extension once you have crawled the website
Set your export format as "JSON" to fetch the correct session cookie.
Click on the โ€œโ‹ฎโ€ and go to โ€œEdit Chatbotโ€
Navigate under "Data Source" tab
Click on "Add"
Key in the URL of the password protected pages, adjust the rules of the crawl in the following fields below accordingly.
Enter the URL of the password protected pages, adjust the rules of the crawl accordingly.
Specify the rules of your private webpage crawl
Expand on the "Advanced Settings" section and paste your session cookie into the field
A successful crawl will allow you to load up pages. E.g. in this sample it displays as "38" pages.
Click on the edit icon to add more private webpages to your chatbot
When adding new pages, always paste your session cookie into the webpage
Download the chrome extension at this link:
Get cookies.txt LOCALLY