# Adding external synonym directories in Talend Studio

Available in...

* Cloud API Services Platform
* Cloud Big Data
* Cloud Big Data Platform
* Cloud Data Fabric
* Cloud Data Integration
* Cloud Data Management Platform
* Data Fabric
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition

This step is mandatory for artifacts that need the content of some external directories to be executed.

## Before you begin

* The artifact is open in Talend Studio and the Contexts tab below the design workspace is selected.

  If this tab does not show in Talend Studio, click Window &gt; Show view &gt; Talend , and select Context.

## About this task

For example, create a artifact that standardizes the country name and returns the full English version of the country. In such a case, you must use the tSynonymSearch data quality component that reads input data and searches for reference entries defined in a given synonym index file.

## Procedure

1. Click the [+] button at the bottom of the Context view to add a line in the table.
2. Define the context parameter following the pattern resource\_directory\_&lt;parameter\_name&gt;, all in lower case.

   Use resource\_directory\_synonym in this example as you want to set the path to the synonym index directory.
3. Set the type of the parameter to String.
4. In the Value field, set the path to the synonym directory which is stored in the Talend Studio folder &lt;Studio&gt;/addons/data/synonym/.
5. Select the first tSynonymSearch component in the artifact, and in the Component view set the context of the relative path to the index file in the synonym directory.
   ### Example

   ![](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/use_case-add_external_resource2.png)
6. Do the same and set the context of the relative path to the idx\_ISO3\_country\_name file in the second tSynonymSearch component, and to idx\_ISO2\_country\_name in the third tSynonymSearch component.
7. Publish the artifact to the web application.

   The values of the resource parameters are not published to the cloud with the artifact.

## Results

![Published artifact in the web application.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/tmc-create_resource.png)