Skip to main content

Connect to Amazon S3 (Legacy UI)

Nexla's bi-directional connectors can both send data to and receive data from any data system. This means that once a user has created or gained access to a credential for any data system, building any data flow to ingest data from or send data to a location within that data system requires only a few simple steps.

1. Credentials

This section provides information about and step-by-step instructions for creating a new Amazon S3 credential in Nexla.

1.1 Add a New Amazon S3 Credential

  1. After selecting the data source/destination type, in the Authenticate.png screen, click AddANewCredential.png. This will open the Add New Credential window.

      NewCredential.png

  2. Enter a name for the new credential in the Credential Name field.

      CredentialName.png

  3. Optional: Enter a description of the credential in the Credential Description field.

      CredentialDescription.png

  4. Select the appropriate API type from the API Type dropdown menu.

      API_Type.png

  5. Complete the steps in the following section corresponding to the selected API Type.

1.2 AWS Meter Usage

For credentials that use the AWS Meter Usage API type, no additional settings are required once "AWS Meter Usage" has been selected from the API Type pulldown menu.

     AWS_MeterUsage.png

1.3 Generic Amazon S3 API

Credentials for used with the generic Amazon S3 API type can be configured to coordinate Nexla access to Amazon S3 via different AWS permissions mechanisms. This section provides instructions for configuring the Amazon S3 credential to use each of the available permissions mechanisms.

     GenericS3.png

  1. Select the authentication method that should be used with the new source from the Authenticate Using dropdown menu.

    • Access Key This option configures Nexla to use AWS Access and secret keys to access S3.

    • ARN & External ID This option configures Nexla to use IAM ARN to access S3.

    • Instance Role This option configures Nexla to use an IAM instance role to access S3.

      AuthenticateUsing.png

    • When "Access Key" is selected:

      1. Enter the AWS access key for the S3 account in the AWS Access Key field.

          AccessKey.png

      2. Enter the AWS secret key for the S3 account in the AWS Secret Key field.

          SecretKey.png

    • When "ARN & External ID" is selected:

      1. Enter the external ID that will be used to coordinate Nexla access to S3 in the External ID field.

        For more information about using an external ID to coordinate third-party access to Amazon S3 and other AWS recources, see this AWS document.

          ExternalID.png

    • When "Instance Role" is selected:

      • No further information is needed when configuring the credential to use an instance role to connect to S3.

          InstanceRole.png

  2. Section 1.5 provides information about advanced settings available for Amazon S3 credentials along with step-by-step instructions for configuring each setting.

    • To configure any desired additional advanced settings for this credential, continue to Section 1.5, and complete the relevant steps.

    • To create this credential without configuring any advanced settings, continue to Section 1.6.

1.4 Odoo ERP Credential

For credentials that use the Odoo ERP Credential API type, this section provides instructions for configuring additional required settings.

     OdooERP.png

  1. Enter the URL of the Odoo server that will be used with this credential in the Odoo Server URL field.

    The Odoo server URL is the domain of the Odoo instance, e.g., https://mycompany.odoo.com.

      ServerURL.png

  2. Enter the name of the Odoo database that will be accessed using this credential in the Odoo Database Name field.

    The Odoo database name is the name of the Odoo instance, e.g., my company.

      DatabaseName.png

  3. Enter the username that will be used to access S3 with this credential in the Username field.

    This setting should be the username configured for the user's S3 login credentials and can be viewed in the Amazon S3 "Change Password" screen.

      Username.png

  4. Enter the password or API key associated with the username entered in Step 3 in the Password field.

      Password2.png

  5. Continue to Section 1.6.

1.5 Advanced Settings (Generic Amazon S3 API)

This section provides information about the optional advanced settings available for Amazon S3 credentials that use the Generic Amazon S3 API type, along with step-by-step instructions for configuring each of these settings.

  1. Click AdvSettings.png to access additional available settings for the credential.

      AdvSettings2.png

  2. The available Amazon S3 advanced credential settings are listed below, with information and instructions provided for each. Once all desired advanced settings have been configured, continue to Section 1.6.

  • IAM Amazon Resource Name

    1. To designate the IAM Amazon Resource Name (ARN) for which the credential permissions are applicable, enter the ARN in the IAM ARN field.

      Enter the IAM ARN in the format arn:partition:service:region:account:resource.

        IAM_ARN.png

  • S3 Path for Restricted Access

    1. If the AWS admin has restricted access for this credential to a specific bucket or path inside a bucket, enter the corresponding S3 path in the "S3 Path list is limited to" field.

        S3_Path.png

  • Client-Side Encryption

    Nexla can be configured to encrypt/decrypt S3 objects that require client-side encryption using the AWS Key Management System (KMS).

    1. If client-side KMS encryption is applicable for the S3 objects to which this credential will have access, check the box next to "Enable Client-Side Encryption?".

        KMS.png

    2. Select the type of KMS encryption mode that is applicable for this credential from the Client-Side Encryption Mode pulldown menu.

        EncryptionMode.png

    3. Enter the KMS key that should be used to encrypt/decrypt objects in the Amazon KMS Key for Encryption field.

      Please ensure that the user associated with this credential has appropriate KMS permissions. For more information about setting up client-side encryption through AWS KMS and the corresponding user permissions in AWS, see this AWS document.

        KMS_Key.png

  • Server-Side Encryption

    Nexla can be configured to encrypt/decrypt S3 objects that require server-side encryption using either Amazon S3-managed encryption keys (SSE-S3) or AWS Key Management Service (SSE-KMS).

    1. If server-side encryption is applicable for the S3 objects to which this credential will have access, check the box next to "Enable Server-Side Encryption?".

        SSE.png

    2. Optional: If server-side encryption should be performed using the AWS Key Management System, enter the corresponding Key ARN in the "Key ARN for SSE with KMS" field.

      To use Amazon S3-managed encryption keys for server-side encryption, leave this field blank.

        KeyARN.png

  • File Encryption/Decryption

    Nexla can be configured to process encrypted files such that a data source connected to this credential will decrypt files before ingestion, and a data destination connected to this credential will encrypt generated files before uploading to the S3 storage location.

    1. To configure Nexla to encrypt/decrypt files when accessing S3 via this credential, check the box next to "Handle File Encryption/Decryption?".

        FileEncryption.png

    2. Select the type of file-encryption protocol that should be used to encrypt/decrypt files from the list of available protocols in the File Encryption Protocol pulldown menu.

        EncryptionProtocol.png

      • PGP Encryption

        1. Enter the ID of the user whose public key will be used for file encryption/decryption in the External User ID field.

            ExtUserID.png

        2. Enter the public key will be used for file encryption/decryption in the External User's Public Key field.

            PublicKey.png

        3. Enter the user ID that was used to generate the PGP private key in the Your User ID for Private Key field.

            UserID.png

        4. Enter the password for the user ID in Step 5 in the Your Password for Private Key field.

            Password.png

        5. Enter the PGP private key that will be used to encrypt/decrypt files in the Your Private Key field.

            PrivateKey.png

1.6 Save and Create the Amazon S3 Credential

  1. Once all of the relevant steps in the above sections have been completed, click Save.png at the bottom of the Add New Credential screen to save the credential and all entered information.

  2. The newly added credential will now appear in a tile on the Authenticate.png screen and can be selected for use with a new data source or destination.

      CredentialsList.png

2. Add an Amazon S3 Data Source

  1. Log into Nexla with your provided credentials to view the Nexla Dashboard.

    If you need credentials, contact support@nexla.com.

  2. Select Sources.png from the menu on the left.

  3. Click Create_New_Source.png in the upper right corner to begin adding a new data source.

  4. Select AmazonS3.png, and click Next.png in the upper right corner of the screen to begin adding an Amazon S3 data source.

2.1 Connect to the Desired Folder(s)

  1. To expand a file, click the Expand.png icon next to it.

  2. To select a file, hover over it, and click the Select.png button that appears.

    The button should now display Selected.png.

  3. Optional: Use the Advanced Settings menu on the right to access additional settings for the source, including file scan scheduling and options related to text files and delimiter-separated values.

      Advanced_Settings_S3.png

  4. Once all needed files have been selected, click Create.png in the upper right corner.

2.2 Save and Create the Amazon S3 Data Source

  1. The confirmation page indicates that the Amazon S3 data source has been successfully added.

      Success.png

  2. Optional: Edit the name of the data source by hovering over it (Source_Name.png) and entering the desired text.

  3. Optional: Add a description of the data source by hovering over Description.png below the source name and entering the desired text.

    • To return to My Data Sources, click Done.png in the upper right corner.

    • To view the newly created data source, click View_Source.png.

    • To view Nexsets detected in the newly added source, click View_Detected_Nexsets.png.