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.
- Specify a URL for where this integration will be used.
- For production API keys, leave Enforce referrer URL checked.
- Click on Create
- Click the Example < /> button to get your API key and view suggested settings
For local or staging API keys, see here.
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.