DEV Community

SevimsOffice
SevimsOffice

Posted on • Updated on

How to Connect Your AmazonQ Application to Gmail

Image description

We will go trough the steps of creating a Personal AI Assistant who can have access to our emails.

1.Navigate to https://aws.amazon.com/ and sign in to your AWS Console.

Image description

2.From the services type and select "Amazon Q"

Image description

3.Click "Create application"

Image description

4.Type your application's name ex:"MyAssistant" and leave the default "Create and use a new service role" and click "Create".

Image description

5.On the next page leave the default Retrievers. Leave Index provisioning as "1" and Click "Next".

Image description

6.Select Gmail.

Image description

  1. For the "Data source name" field enter name.

Image description

8.Choose "Create and add new secret"

Image description

9.Fill in the information.

Image description

Now you are going to need the Private Key of your Gmail account.

10.Navigate to Google Cloud Platform.

Image description

11.Write a project name and click "Create"

Image description

12.Click ok "SELECT PROJECT"

Image description

13.From the left bar go to Service Accounts.

Image description

14.Click the "Service account name" field and type a name, something like "AmazonQAssistant".

Image description

15.Create a service account.

Image description

16.Service account ID will be generated.

Image description

17.Click "CREATE AND CONTINUE"

Image description

18.And then click on "DONE".

Image description

19.Clik on the account Email.

Image description

20.Go to "KEYS"

Image description

21."ADD KEY" and "Create new key".

  1. Now go back to AWS Console > Amazon Q and add your "Private key" generated in Gmail account in this field and SAVE.

Image description

23.Continue adding data source.

Image description

  1. Create your application.

Image description

Image description

  1. You can now select Jason and click on "Create" to download it to your local driver.

Image description

Top comments (0)