Setup
Configure where Ask Fern is available and what content it can access.
Basic setup
Enable Ask Fern by adding the ai-search configuration to your docs.yml file:
docs.yml
Configuration
docs.yml
ai-search.location
Specifies where Ask Fern will be available. Options:
docsenables Ask Fern on your documentation siteslackenables Ask Fern in Slackdiscordenables Ask Fern in Discord
Most users should enable Ask Fern for both docs and either slack or discord.
ai-search.datasources
Coming soon
Additional content sources that Ask Fern should index and search.
datasources.url
Coming soon
The URL of the website to index. Ask Fern will crawl and index the content from this URL.
datasources.title
Coming soon
An optional display name for this datasource. This helps users understand where the information is coming from when Ask Fern cites content from this source.
ai-search.system-prompt
By default, Ask Fern uses system prompts to finetune AI search results. Add a custom prompt here to override it.
See Anthropic’s prompting guide for ideas and examples.