If you’re new to Unstructured, read this note first.Before you can create a destination connector, you must first sign in to your Unstructured account:
- If you do not already have an Unstructured account, sign up for free. After you sign up, you are automatically signed in to your new Unstructured Let’s Go account, at https://platform.unstructured.io. To sign up for a Business account instead, contact Unstructured Sales, or learn more.
- If you already have an Unstructured Let’s Go, Pay-As-You-Go, or Business SaaS account and are not already signed in, sign in to your account at https://platform.unstructured.io. For other types of Business accounts, see your Unstructured account administrator for sign-in instructions, or email Unstructured Support at support@unstructured.io.
- For the Unstructured UI or the Unstructured API, local OpenSearch instances are not supported.
-
For Unstructured Ingest, local and non-local OpenSearch instances are supported.
For example, to set up an AWS OpenSearch Service instance, complete steps similar to the following:
- Sign in to your AWS account, and then open your AWS Management Console.
- Open your Amazon OpenSearch Service console.
- On the sidebar, expand Managed clusters, and then click Dashboard.
- Click Create domain.
- In the Name tile, for Domain name, enter some unique domain name for your new OpenSearch instance.
- In the Domain creation method tile, select a method for creating the domain. For faster setup with sensible default settings, this example uses the Easy create method. Learn more about the Standard create method.
- In the Engine options tile, for Version, AWS recommends that you select the latest version.
- In the Network tile, for Network, select a network access method. For faster setup, this example uses the Public access method. Learn more about the VPC access method.
- For IP address type, select Dual-stack mode.
- In the Fine-grained access control tile, select Create master user.
- Specify some username and password for this master user by filling in the Master username, Master password, and Confirm master password fields. Make sure to save the master user’s password in a secure location.
- Click Create.
-
After the domain is created, you must allow Unstructured to access the domain, as follows:
a. If the new domain’s settings page is not already showing, open it as follows:
in your Amazon Open Search Service console, on the sidebar, expand Managed clusters, and then click Domains. Then,
in the list of available domains, click the name of the newly created domain.
b. On the Security configuration tab, click Edit.
c. In the Access policy tile, for Domain access policy, select Only use fine-grained access control.
d. Click Clear policy.
e. Click Save changes.
-
The instance’s host identifier (and port number, if you’re using a local OpenSearch instance), as follows:
-
For an AWS OpenSearch Service instance, do the following:
- Sign in to your AWS account, and then open your AWS Management Console.
- Open your Amazon OpenSearch Service console.
- On the sidebar, expand Managed clusters, and then click Dashboard.
- In the list of available domains, click the name of your domain.
- In the General information tile, copy the value of Domain endpoint v2 (dual stack).
- For a local OpenSearch instance, see Communicate with OpenSearch.
-
For an AWS OpenSearch Service instance, do the following:
-
The name of the search index on the instance.
For the destination connector, if you need to create an index, you can use for example the following
curlcommand. Replace the following placeholders:- Replace
<host>with the instance’s host identifier. - If you’re using a local OpenSearch instance, replace
<port>with the instance’s port number. - Replace
<master-username>with the master user’s name, and replace<master-password>with the master user’s password. - Replace
<index-name>with the name of the new search index on the instance. - Replace
<index-schema>with the schema for the new search index on the instance. A schema is optional; see the explanation following thiscurlcommand for more information.
For the destination connector, the index does not need to contain a schema beforehand. If Unstructured encounters an index without a schema, Unstructured will automatically create a compatible schema for you before inserting items into the index. Nonetheless, to reduce possible schema compatibility issues, Unstructured recommends that you create a schema that is compatible with Unstructured’s schema. Unstructured cannot provide a schema that is guaranteed to work in all circumstances. This is because these schemas will vary based on your source files’ types; how you want Unstructured to partition, chunk, and generate embeddings; any custom post-processing code that you run; and other factors. You can adapt the following index schema example for your own needs:See also: - Replace
- For non-local OpenSearch instances, or if you’re using basic authentication to a local OpenSearch instance, the master user’s name and password.
-
For local OpenSearch instances, if you’re using certificates for authentication instead of basic authentication:
- The path to the Certificate Authority (CA) bundle, if you use intermediate CAs with your root CA.
- The path to the combined private key and certificate file, or
- The paths to the separate private key and certificate file.
- On the sidebar, click Connectors.
- Click Destinations.
- Cick New or Create Connector.
- Give the connector some unique Name.
- In the Provider area, click OpenSearch.
- Click Continue.
- Follow the on-screen instructions to fill in the fields as described later on this page.
- Click Save and Test.
- Name (required): A unique name for this connector.
- Host (required): The OpenSearch instance’s host.
- Index Name (required): The name of the search index on the instance.
- Username: The master user’s name.
- Password: The master user’s password.

