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 Starter account, at https://platform.unstructured.io. To sign up for a Team or Enterprise account instead, contact Unstructured Sales, or learn more.
- If you already have an Unstructured Starter or Team account and are not already signed in, sign in to your account at https://platform.unstructured.io. For an Enterprise account, see your Unstructured account administrator for instructions, or email Unstructured Support at support@unstructured.io.
- An IBM Cloud account or DataStax account.
-
An Astra DB database in the DataStax account. To create a database:
a. After you sign in to DataStax, click Create database.
b. Click the Serverless (vector) tile, if it is not already selected.
c. For Database name, enter some unique name for the database.
d. Select a Provider and a Region, and then click Create database.
Learn more. -
An application token for the database. To create an application token:
a. After you sign in to DataStax, in the list of databases, click the name of the target database.
b. On the Overview tab, under Database Details, in the Application Tokens tile, click Generate Token.
c. Enter some Token description and select and Expiration time period, and then click Generate token.
d. Save the application token that is displayed to a secure location, and then click Close.
Learn more. -
A keyspace in the database. To create a keyspace:
a. After you sign in to DataStax, in the list of databases, click the name of the target database.
b. On the Data Explorer tab, in the Keyspace list, select Create keyspace.
c. Enter some Keyspace name, and then click Add keyspace.
Learn more. -
A collection in the keyspace.
For the Unstructured UI and Unstructured API:
-
An existing collection is not required. At runtime, the collection behavior is as follows:
- If an existing collection name is specified, and Unstructured generates embeddings, but the number of dimensions that are generated does not match the existing collection’s embedding settings, the run will fail. You must change your Unstructured embedding settings or your existing collection’s embedding settings to match, and try the run again.
- If a collection name is not specified, Unstructured creates a new collection in your keyspace. If Unstructured generates embeddings,
the new collections’s name will be
u<short-workflow-id>_<short-embedding-model-name>_<number-of-dimensions>. If Unstructured does not generate embeddings, the new collections’s name will beu<short-workflow-id.
- For the source connector only, an existing collection is required.
-
For the destination connector only, an existing collection is not required. At runtime, the collection behavior is as follows:
- If an existing collection name is specified, and Unstructured generates embeddings, but the number of dimensions that are generated does not match the existing collection’s embedding settings, the run will fail. You must change your Unstructured embedding settings or your existing collections’s embedding settings to match, and try the run again.
- If a collection name is not specified, Unstructured creates a new collection in your keyspace. The new collection’s name will be
unstructuredautocreated.
b. On the Data Explorer tab, in the Keyspace list, select the name of the target keyspace.
c. In the Collections list, select Create collection.
d. Enter some Collection name.
e. Turn on Vector-enabled collection, if it is not already turned on.
f. For Embedding generation method, select Bring my own.
g. For Dimensions, enter the number of dimensions for the embedding model that you plan to use.
h. For Similarity metric, select Cosine.
i. Click Create collection.
Learn more. -
An existing collection is not required. At runtime, the collection behavior is as follows:
- On the sidebar, click Connectors.
- Click Destinations.
- Cick New or Create Connector.
- Give the connector some unique Name.
- In the Provider area, click Astra DB.
- 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.
- Collection Name: The name of the collection in the keyspace. If no value is provided, see the beginning of this article for the behavior at run time.
- Keyspace (required): The name of the keyspace in the collection.
- Batch Size: The maximum number of records per batch. The default is
20if not otherwise specified. - Flatten Metadata: Check this box to flatten the metadata into each record.
Specifically, when flattened, the metadata key values are
brought to the top level of the element, and the
metadatakey itself is removed. By default, the metadata is not flattened. - API Endpoint (required): The database’s associated API endpoint.
- Token (required): The application token for the database.

