Knowledge base

Allowing Xplenty access to my Amazon Athena instance

Xplenty can read data from your Amazon Athena instance or write data to it. This article discusses providing Xplenty access on your Amazon Athena and then details creating the Amazon Athena connection in Xplenty.

To allow Xplenty access to Amazon Athena:

  1. Create an IAM user in AWS.
  2. Attach the AmazonAthenaFullAccess policy to the user.
  3. Create security credentials for the user and save them for later use when defining the connection in Xplenty.

To define a connection in Xplenty to Amazon Athena:

  1. Click the Connections icon (lightning bolt) on the top left menu.
  2. To create a connection, click New connection. Screen+Shot+2020-03-16+at+3.44.54+PM.jpg
  3. Choose Amazon Athena and name the connection.
  4. Select AWS region.
  5. Type in the S3 staging directory to use with Athena in the form s3://bucket/path. Note that the bucket should be in the same region you selected above.
  6. Enter the default database to use. If you leave it empty, the user's default database will be used.
  7. Fill out the IAM access key and secret.
  8. Click Test connection. If the credentials are correct, a message that the connection test was successful appears.
  9. Click Create connection. undefined