IntegrationsVitepress
Add AI Chat to your VitePress docs
What is VitePress
VitePress is a lightweight static site generator based on Vue.
Get an API key
- Go to the Inkeep Dashboard
- Select your project under Projects
- Go to the Integrations tab
- Click on Create integration
- Select Web
- Provide a Name and URL (optional) for the integration
- Click on Create
- Click the Example < /> button to get your API key and view suggested settings
Copy and add the apiKey
, integrationId
and organizationId
to your environment variables:
Load the script files
Add the below scripts to the config.ts
file:
Create the addInkeep.js script
Create an addInkeep.js
file in your static
folder.
Now, configure the chat button component.
For a full list of customizations, check out the Chat Button documentation.