Step 1. Launch Aspire and open the Content Source Management Page.

Launch Aspire (if it's not already running). See:


Step 2. Add a new Content Source.

  • For this step, please follow the step from the Configuration Tutorial of the connector of your choice, please refer to the Connector list




Step 3. Add an Gen AI Client application to the Workflow.

To add an Gen AI Client application, drag it from the Applications section to the desired Workflow event. This will automatically open the Gen AI Client configuration for the application.





Step 3a. Initialization script.

Initialization script is run once when the component is initialized. Global variables can be defined and component configuration provided.

  • Script secrets: secrets to be used in scripts in form ${secrets.apiKey}
  • Init script selection: select the script from list of available templates; use "custom" for empty template
  • Script template properties: template properties available for this script in form ${template.endpoint}

Step 3b. Processing script.

Processing script is executed for each crawled document

  • Script selection: select the script from list of available templates; use "custom" for empty template
  • Script template properties: template properties available for this script in form ${template.endpoint}

Step 3c. Authentication

 Authentication method for REST requester component can be selected. This component is available in the script via connection.client binding variable. Aspire will configure this component  based on provided properties. If value NONE is selected you must configure authentication manually in the script

Step 3d. Connection.

Connection properties for REST requester component can be provided. This component is available in the script via connection.client binding variable. Connection properties include timeouts, throttling policies, retries policies, etc

Step 3e. External Resources.

If third party jars from Aspire resources need to be used in the script you can define them here. The classpath will be adjusted accordingly.

Step 3f. General.

The properties include script pool size, REST response format, list of valid response codes 


For details on using the Workflow section, please refer to the Workflow introduction.