Using Private Google Sheets Shared with Business Emails in Darty-Ai

Private Google Sheets (Google App)

Previously, our guide showed you how to use publicly shared Google Sheets with Darty-Ai as well as private sheets with Service Accounts.

We now offer integration with private Google Sheets which allows you to use your regular business email.
To use Google Sheets with Darty-Ai, your spreadsheets must either be publicly shared, or you can securely connect private sheets using a Google App.
Darty-Ai option to connect private Google Sheets via a Google App
A “Google App” might sound technical — but don’t worry, it isn’t something you build or code.
Diagram showing Darty-Ai requesting Google Sheets access through Google’s authorization flow
The Google App simply allows Darty-Ai to ask Google for permission to access only the Google Sheets you choose to share, using Google’s official security system. Nothing is accessed automatically, and you stay fully in control.

You don’t need to understand anything about apps, coding, or OAuth.

Just follow the steps, click what we tell you to click, and type exactly what we show you.

You’ll also choose which email addresses are allowed to use this connection with Darty-Ai.

This setup only needs to be done once and usually takes less than 10 minutes.

Follow these stages and you should have Darty-Ai using privately shared Google Sheets in a few minutes.

Enter console.google.com in your browser’s address bar.
Check “I agree”.
Click “Agree and continue”.
Google Cloud Console terms screen with “I agree” checkbox and “Agree and continue” button
To create the new app, click the “Select a project” button.
Google Cloud Console header showing the “Select a project” menu
If you have already created a Google app in the console, click the button next to the Google Cloud logo to open the Project Picker.
Project picker control next to the Google Cloud logo
Click the new project button.
Project Picker dialog with the “New project” button
Fill in a project name. You can use any name, but something that makes it clear the project is connected to Google Sheets and Darty is recommended, for example, “Private Emails For Darty”.

You can leave the project ID as it is, or rename it to something meaningful like “private-emails-for-darty”. The file that will be created and later imported into Darty-Ai will contain this name, so it’s a good idea to choose something that will be easy to find in the future.

Leave the location unchanged unless you know exactly what you are doing.

Click “Create”.
Create project form with fields for Project name, Project ID, and Location
If you were originally on another project, select the new project you just created.
Project Picker list with the newly created project selected
Click the Navigation Menu icon.
Google Cloud Console navigation menu (hamburger) icon
Then select “APIs and Services”, followed by “Enabled APIs and Services”.
Navigation menu showing “APIs & Services” and “Enabled APIs & services”
Click on “+ Enabled APIs and Services”.
Enabled APIs & services page with “+ ENABLE APIS AND SERVICES” button
Type in “Google Sheets”.
API Library search field with “Google Sheets” entered
Select Google Sheets API.
API search results showing the “Google Sheets API” card
Click Google Sheets API.
Click “Enable”.
Google Sheets API page showing the “Create credentials” button after enabling
Click “Create Credentials”.
Create credentials wizard start screen in Google Cloud Console
Select “Google Sheets API”.
Select “User Data”.
Click “Next”.
Credentials wizard with “Google Sheets API” selected and “User Data” chosen
Type in a name for the app. You can use the same name you chose for the project, such as “Private Emails For Darty”. This name will be shown on the OAuth screen.

Type in a support email address. This can be any email address you want. Since you will not be “Publishing” the app and will keep it in limited “Test” mode, this choice is not critical.

If required, add a logo. Any image will do, as it is unlikely to appear anywhere while the app is in test mode.

Type in your email address for the developer contact information. This will be accessible from the authorization page.

Click “Save and Continue”.
OAuth consent screen app information form (app name, support email, developer contact)
Click “Add or remove scopes”.
OAuth consent screen scopes step with “Add or remove scopes” button
Scroll down until you see “Google Sheets API” and “…auth/drive.readonly”.
Click the checkbox next to that option and then click “Update”.
Scope selection dialog with “.../auth/drive.readonly” checked and “Update” clicked
Click “Save and continue”.
OAuth consent screen scopes step with “Save and continue” button
Select “Desktop App” for the application type.
Create OAuth client ID screen with application type set to “Desktop app”
Choose a name that will be displayed on the authorization page. Using the project name, such as “Private Emails For Darty”, is a good choice.
Click “Create”.
OAuth client ID name field and “Create” button
Click “Download”, and then click “Done”.
OAuth client created dialog with “Download” button for the JSON file
Click on “OAuth consent screen” if you see that option in the navigation menu, or type “OAuth consent screen” into the search bar if you don’t.
Google Cloud Console navigation/search for “OAuth consent screen”
If the app name, support email, and logo are not already filled in, fill them in now.
Ignore all App domain links; you do not need to fill these in.
Make sure the developer contact email contains your email address, then click “Save”.
OAuth consent screen edit form with “Save” button
Click “Audience” in the navigation menu.
OAuth consent screen navigation with “Audience” selected
Click the “+ Add Users” button.
Audience page with “+ Add Users” button for test users
Enter the email addresses that Darty-Ai users will want to share their Google Sheets with.
Add users dialog with test user email addresses entered
These email addresses must be associated with an active Google Account.
Audience test users list showing the added email addresses
To associate your business email with a Google Account, go to https://accounts.google.com.
On the “Sign in” screen, click “Create Account”.
Google sign-in page showing the “Create account” option
Choose between “Try Google Workspace” and “Get a Gmail address”.
Account creation screen offering “Try Google Workspace” or “Get a Gmail address”
If you choose the free “Get a Gmail address” option, click on “Use your existing mail”.
Sign-up flow showing “Use your existing email” option
Enter your business email address, click “Next”, and follow the verification process until it is complete.
Form to enter an existing business email address during Google account creation
Note that it can take up to five minutes for Google to send the verification email containing the code you need.
Verification step indicating a code will be emailed (may take a few minutes)
You can easily add additional email addresses later by going to console.google.com, typing “Audience” into the search bar, and clicking the “+ Add Users” button.
Darty-Ai cloud settings showing “Load Private Google Sheet JSON” and “Add Account”
Your “App” is now set up and ready to be linked to your Darty-Ai account.
Go to “Settings”, “Cloud”, and click on either the “Load Private Google Sheet JSON” or “Add Account” buttons.
File picker selecting the downloaded OAuth client JSON file
Navigate to the location of the JSON file that you created and downloaded when setting up the app, it will normally be in your Downloads folder, click open.
Darty-Ai prompt after loading the private Google Sheet JSON
Congratulations! Darty-Ai can now import Google Sheets that are privately shared with your regular email.
Darty-Ai Data tab showing the cloud import icon
To import the privately shared Google Sheet, click the cloud icon on the Data tab
Import dialog with a field for the shared Google Sheet URL and an “Import” button
Insert the shared URL, into the input box and click the “Import” button.
Google authorization flow opening in a browser after clicking Import
Google’s authorization process should now happen, your default internet browser should open and you need to follow through the stages.
Select the account that the Google Sheet is shared with.
Google account chooser showing available accounts
Then ignore all the warnings that you get. The app is perfectly safe, you made it! Click “Continue”. Click “Continue” again.
Google “unverified app” warning with option to continue anyway
You should get the Successful tab, now close that tab on the browser and return to Darty-Ai.
Google authorization success page confirming access was granted
The Google Sheet should have loaded, provided that it was a valid sheet and shared with your email.

Note, only Google Sheets can currently be shared using private emails, if you want to use an Excel or CSV file hosted on Google Drive, you need to make sure they are publicly shared.
Darty-Ai showing the imported Google Sheet data after authorization
Now that you have successfully created the “App”, and added the emails that you want to be able to use with Darty-Ai, you do not need to worry about setting up an “App” again, the “App” will be valid for all Darty-Ai installations associated with your account.

You will simply need to import the JSON file into the new Darty-Ai installation.

The Google Authorization that allows for Darty-Ai to access the sheets, should be valid for a few hours or until you click the remove token icon, that will require you to re-authorize.
Darty-Ai cloud account row showing the remove token icon
If you want to permanently remove the Darty-Ai’s installation to your Google Sheets, you can click “Remove the Cloud Account” icon, which can be found on the cloud settings tab, next to the account.
Darty-Ai cloud settings showing the “Remove the Cloud Account” icon
To securely share an encrypted version of your JSON so that anyone on your Darty-Ai account can use privately shared emails with Darty-Ai, click on the export JSON button.

That JSON can be imported into their Darty-Ai installation using the same buttons, you used to import your original JSON.
Darty-Ai cloud settings showing the “Export JSON” button

Leave a Comment

Scroll to Top