Skip to main content

Connecting to the Amazon Web Services (AWS) Cognito

Overview

AWS Cognito is a user identity and data synchronization service that provides authentication, authorization, and user management for your web and mobile apps. You can use SkyPoint AI’s built-in connector for importing data from AWS Cognito. This document will guide you through the process of connecting AWS Cognito to Skypoint AI.

Prerequisite

You will need the following details to configure and import data using AWS Cognito:
  • AWS account
  • User Pool ID
  • Access key ID
  • Secret access key.
:::note You can refer to the InforHMS Setup Guide document to learn more about the Prerequisites. :::

Import Data using AWS Cognito connector

Follow the below steps to create a new dataflow for the Cognito connector:
  1. In the left pane, go to Dataflow > Imports.
The Dataflow window appears. Alt text
  1. Click New Dataflow to create dataflow.
Alt text
  1. Enter a Name to identify your Dataflow.
:::note The name must start with a letter and contain only letters and numbers, with no spaces between the characters. :::
  1. Click Next.

Add AWS Cognito Connector

  1. In the All categories or Services and apps tab, select the AWS Cognito connector to start the configuration.
Alt text
  1. Also, you can use the Search function to find the AWS Cognito connector.
Alt text
  1. In the Set dataflow name, enter the Display Name to identify your dataflow.
  2. In the Description box, you can enter an explanation of the connector.
  3. Click Next.
Alt text

To configure AWS Cognito

  1. Enter your credentials such as User Pool ID, Access key ID, Secret access key, and Region to configure with the AWS Cognito connector.
  2. Click Connect.
Alt text
  1. Enter the Table Details to process the data.
ItemDescription
PurposeOption to assign a purpose (All, Customer 360, or Privacy-Metadata) for each table.
Data
Loads customer data
Metadata
Loads Metadata
File NameDisplays the name of the file that you imported.
Table NameDisplays the imported table name.
:::note After configuration, all tables that are part of the connector are listed in the Table Details. For a single table, it displays by default, showing information specific to the client connector and the tables it supports upon successful connection. However, for multiple tables, you can select only those tables you want to import and process. For example, to import customer data, choose the tables containing customer information such as name, email, address, and contact details. :::
  1. Click Save to apply the changes.

Run, edit, and delete the imported data

  1. After saving the connection, the AWS Cognito connector appears on the Dataflow page. Also, you can see the list of created tables in the Databases section.
Alt text
ItemDescription
NameDisplays the name of the Dataflow.
TypeDisplays connector type symbol.
StatusIndicates whether the data is imported successfully.
Table CountDisplays the number of tables.
Created DateDisplays date of creation.
Updated DateDisplays last modified date.
Last RefreshDisplays the latest refresh date. This date will get updated whenever you refresh the data.
Group byOption to view the items in a specific Group (For example, name, type, status).
  1. Select the horizontal ellipsis in the Actions column and do the following:
If you want toThen
Modify the DataflowSelect Edit and modify the Dataflow. Click Save to apply your changes.
Execute the DataflowSelect Run.
Bring the data to its previous stateSelect Rollback.
Delete the DataflowSelect Remove and then click the Delete button. All tables in the data source get deleted.
See the run history of the DataflowSelect Run History.
:::note You can view the error message for data import failures from a data source in the Dataflow under Run History > Description. :::

Setup guide

Overview

This document will help you gather all credentials for connecting AWS Cognito with Skypoint AI.

Prerequisite

You must have the following details:
  • An admin access in AWS console.

To find User pool ID

Follow below steps to find the User pool ID:
  1. Log in to your AWS console.
  2. Go to Cognito > User pools.
Alt text

To find Access key ID

Follow below process to locate your Access key:
  1. Go to IAM > Users > Security credentials.
  2. You can locate the Access key ID in Access keys section.
Alt text

To locate Secret access key

  1. Go to IAM > Users > Security credentials.
  2. Click Create access key in the Access keys section.
  3. Download the file containing Access key ID and Secret access key.
:::note The Secret Access Key is displayed only once, so it is recommended to download the file and store it securely. :::

To identify the Region

You can locate the region of data to import in the AWS console. Follow below steps:
  1. Go to AWS console > User Pools.
  2. Click Location drop-down list.
  3. Select your desired location from the Location drop-down list.
Alt text :::note The selection of region is based on your AWS Cognito setup. :::
  1. Once you select the Region, the User pools for that region is displayed along with the User pool ID, Created time, and Last updated time.
Alt text