> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# createKnowledgeSource

> Create a new knowledge source that Plain AI will index and use when generating replies.
Use type `SITEMAP` to crawl all URLs listed in a sitemap XML file, or type `URL` to index a
single page. Requires Plain AI to be enabled on the workspace.

