# Configure the Conversation Agentstore

NOTE: The Conversation Agentstore is an optional component. You do not need to configure it if you do not want to use agent triggers in your conversation tasks. See Conversation Triggers.

The IDOL Agentstore component is a specially configured IDOL Content component.

In agent search, you send plain text or a document to the Agentstore, which returns any agents that match the document. In a Conversation system, you can store conversation triggers in the Agentstore.

The conversation task can query the Agentstore to find any conversation triggers that match the text that a user provides.

## Configure the Agentstore Component

The Answer Server package includes a predefined Conversation Agentstore configuration file.

NOTE: Micro Focus recommends that you use a separate Agentstore for Passage Extractor, Answer Bank, and Conversation answer systems.

To configure the Agentstore component for your Conversation system

1. In your Answer Server installation directory, copy the Agentstore `agentstore.cfg` configuration file.

2. Open your Agentstore installation directory.

3. Paste the Answer Server Agentstore configuration file. Overwrite the installed configuration file (you might want to make a copy of it first).

4. Open the configuration file in a text editor.

5. Update the `[License]` section with the host and port information for your License Server. For more information, see Configure the License Server Host and Port.

6. In the `[Server]` section, find the `Port` parameter. Check that the specified port is available on the host machine, or change it to an available port.

   NOTE: If you modify the port, make sure to update the system configuration in your Answer Server configuration file. See Configure the Conversation System.

7. In the `[Service]` section, find the `ServicePort` parameter. Check that the specified port is available on the host machine, or change it to an available port.

8. Save and close the configuration file.

## Configure the Conversation System to Use Agentstore

To use Agent triggers, you must include the Agentstore details in your conversation system configuration by setting the `AgentstoreHost` and `AgentstoreACIPort` configuration parameters. Depending on your system configuration, you might also need to set `AgentstoreSSLConfig` and `AgentstoreGSSServiceName`.

    [MyConversation]
    Type=Conversation
    TaskConfigurationFile=C:\AnswerServer\Conversation\tasks.json
    // Trigger Agentstore
    AgentStoreHost=localhost
    AgentStoreAciport=5002

For more information about the available configuration parameters, refer to the Answer Server Reference.

## Index Conversation Trigger Agents

After you have configured the Agentstore, you must index the conversation trigger agents that the Conversation system must use.

To do this, you must create the IDX or XML files that contain your conversation triggers (see Agent Triggers). You can then use a `DREADD` index action to add the IDX or XML files to your Agentstore. For example:

    http://localhost:5001/DREADD?C:\AnswerServer\conversation\conversation_triggers.idx.gz

_FT_HTML5_bannerTitle.htm