Authentication
Authenticate with an API Key
Authenticating with an API key is the recommended authentication method for most scenarios, and is the method used in the examples on this site.
To use the Files.com connector with an API Key, first generate an API key from the web interface or via the API or an SDK.
The key's permission scope and Workspace limit the operations it can perform. A user key also follows its account's permissions, including any delegated administrative access. A successful connection does not grant additional access. API Keys explains how to choose the scope and manage the credential's lifecycle.
Configuring in AnyPoint Studio
The connector configuration can be added when setting up the first Files.com operation in your flow. Simply drag and drop an operation into your flow, and you will be required to configure the connector. Provide the API key in the configuration dialog, and the connector will use it by default for all operations.
Manually Configuring the Connector
You can also manually configure the connector by adding the following element to your project configuration XML file:
Noteworthy
Don't forget to replace the placeholder, YOUR_API_KEY, with your actual API key.