If you’re new to Unstructured, read this note first.Before you can create a source 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.
-
After you sign in to your Unstructured Starter account, click API Keys on the sidebar.
For a Team or Enterprise account, before you click API Keys, make sure you have selected the organizational workspace you want to create an API key for. Each API key works with one and only one organizational workspace. Learn more. -
Click Generate API Key.
-
Follow the on-screen instructions to finish generating the key.
-
Click the Copy icon next to your new key to add the key to your system’s clipboard. If you lose this key, simply return and click the Copy icon again.
If you are generating an SAS token as shown in the preceding video, be sure to set the following permissions:
- Read and List for reading from the container only.
- Write and List for writing to the container only.
- Read, Write, and List for both reading from and writing to the container.
- An Azure account. To create one, learn how.
- An Azure Storage account, and a container within that account. Create a storage account. Create a container.
-
The Azure Storage remote URL, using the format
az://<container-name>/<path/to/file/or/folder/in/container/as/needed>
For example, if your container is namedmy-container
, and there is a folder in the container namedmy-folder
, the Azure Storage remote URL would beaz://my-container/my-folder/
. - An SAS token (recommended), access key, or connection string for the Azure Storage account. Create an SAS token (recommended). Get an access key. Get a connection string. Create an SAS token (recommended): Get an access key or connection string:
-
<name>
(required) - A unique name for this connector. -
az://<container-name>/<path/to/file/or/folder>
(required) - The Azure Storage remote URL, with the formataz://<container-name>/<path/to/file/or/folder/in/container/as/needed>
For example, if your container is namedmy-container
, and there is a folder in the container namedmy-folder
, the Azure Storage remote URL would beaz://my-container/my-folder/
. -
<account-name>
(required for SAS token authentication and account key authentication) - The Azure Storage account name. -
<sas-token>
- For SAS token authentication, the SAS token for the Azure Storage account (required). -
<account-key>
- For account key authentication, the key for the Azure Storage account (required). -
<connection-string>
- For connection string authentication, the connection string for the Azure Storage account (required). -
For
recursive
(source connector only), set totrue
to recursively access files from subfolders within the container. The default isfalse
if not otherwise specified.