AskX custom sources

If your source is in high demand and you need it as a paid AskX customer, we'll prioritise it,  reach out !

You can build your own source if you want to index specific data to your AskX workspace. The custom sources do not support specific permissions, everyone in your AskX workspace will be able to ask on indexed objects.


Step by step

1. Create a new source

Head to the Data source panel, in the Custom section. You can create a new custom source from there and get the customSourceId to use.


2. Get your Slite API key

You'll need an API key to authenticate with the public API, head to your personal settings to do so:  Slite API .


3. Index your data through the public API

You can then call the /ask/index endpoint, pushing 1 object at a time in markdown or HTML. You can use the id of the service of origin as a reference to update an existing object, and the updatedAt key to indicate AskX how fresh the information is.

curl --request POST \
--url https://api.slite.com/v1/ask/index \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-slite-api-key: sliteAPIKey' \
--data '{
"rootId": "customSourceId",
"id": "objectId",
"title": "objectTitle",
"content": "objectContent",
"type": "objectFormat",
"updatedAt": "lastUpdateTime",
"url": "url"
}'


4. See your data indexed in the sources panel

You can now head back to your source and see the count of objects indexed for a given custom source.


Use Zapier to send your data

For easy setup, you can also use our  Zapier integration  to index objects from their UI.