Skip to main content

Google Drive

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 Google Drive credential in Nexla.

1.1 Add a New Google Drive 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.

      AddNewCredential.png

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

      CredName.png

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

      CredDescription.png

  4. Select the method that Nexla should use to authenticate to the Google Drive account from the Authentication Type pulldown menu.

    The System User Authentication method is recommended, as it is best-suited for accessing your own data. It is also tied to the service account instead of individual user accounts.

      AuthenticationType.png

1.2 End User Authentication

  1. Click Authorize.png.

  2. In the pop-up window that appears, select the Google account associated with the Google Drive account.

  3. Click Allow.png to allow Nexla to access the account.

  4. Section 1.4 provides information about advanced settings available for Google Drive 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.4, and complete the relevant steps.

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

1.3 System User Authentication

  1. Click Choose_Credentials_File.png.

  2. Select and upload the service account credentials JSON file generated by Google Cloud IAM.

  3. Section 1.4 provides information about advanced settings available for Google Drive 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.4, and complete the relevant steps.

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

1.4 Advanced settings

  • 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 Google Drive storage location.

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

        AdvSettings2.png

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

      When this option is selected, for Dropbox data sources/destinations created using this credential, Nexla will decrypt files from the source before ingestion and will encrypt files before uploading them to the destination.

        EncryptionDecryption.png

    3. 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

    4. Continue to Section 1.5.

1.5 Save and Create the Google Drive 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.

      Save2.png

  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. Data Source

To ingest data from a Google Drive location, follow the instructions in Section 2 of Common Setup for File-Based Storage Systems.

3. Data Destination

To send data to a Google Drive location, follow the instructions in Section 3 of Common Setup for File-Based Storage Systems.