Add back Kapa.ai to SkyWalking Website and add user consent (#794)

diff --git a/README.md b/README.md
index 75e5b04..ff5b3bf 100755
--- a/README.md
+++ b/README.md
@@ -21,10 +21,17 @@
 
 Located at `content/_index.html`。
 
-### Projects and Document
+### Projects and Documentation
 
-The data of documentation link is located in `data/docs.yml` and formatted as `YAML`.
+The data of documentation link is located in `data/docs.yml` and formated as `YAML`.
 
+#### Search Engine
+Update the [config file](https://github.com/algolia/docsearch-configs/blob/master/configs/skywalking.json) everytime, so that a new documentation version will be available searched by [algolia](https://www.algolia.com/).
+
+#### AI Docs Q&A
+Release managers of SkyWalking projects should use the Kapa.ai [dashboard](https://app.kapa.ai/) to sync and ingest new documentation/blogs/FAQs if needed, or set up automatic refresh (crawling) of the Q&A sources.
+
+If you need access to the dashboard, contact @superskyyy for an invitation.
 
 ### Event
 
diff --git a/themes/docsy/layouts/partials/scripts.html b/themes/docsy/layouts/partials/scripts.html
index e74c888..0a3c5b7 100644
--- a/themes/docsy/layouts/partials/scripts.html
+++ b/themes/docsy/layouts/partials/scripts.html
@@ -37,4 +37,27 @@
   });
 </script>
 
+<!--Note the 200px position-botton is to leave room for website event popups -->
+<script defer
+src="https://widget.kapa.ai/kapa-widget.bundle.js"
+data-website-id="8a08392b-9c4d-4816-8bc4-f93e0ecdd2a7"
+data-project-name="SkyWalking"
+data-project-color="#2B74B8"
+data-button-text="Ask AI"
+data-search-mode-enabled="true"
+data-modal-open-on-command-k="true"
+data-modal-disclaimer="The AI supports multiple languages, but it may not be accessible in China, a proxy is required."
+data-project-logo="https://miro.medium.com/v2/resize:fit:2400/0*kmS-5BQ8ShAhZ_F4.jpg"
+data-modal-example-questions="What is Apache SkyWalking?,How to deploy SkyWalking?,How to inject agents non-intrusively?,How to setup trace sampling?"
+data-button-position-top=""
+data-button-position-right="20px"
+data-button-position-bottom="200px"
+data-button-position-left=""
+data-consent-required="true"  
+data-user-analytics-cookie-enabled="true"  
+data-consent-screen-title="Help us improve our AI assistant"  
+data-consent-screen-disclaimer="By clicking 'Allow tracking', you consent to anonymous user tracking which helps us improve our service. We don't collect any personally identifiable information."  
+data-consent-screen-accept-button-text="Allow tracking"  
+data-consent-screen-reject-button-text="No, thanks"
+></script>
 {{ partial "hooks/body-end.html" . }}