Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home
  • Analytics & Reporting

IAM Role-Based Data Push to s3 Bucket

Written by Hitesh Singla

Updated on February 7th, 2024

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

For the NiFi setup, there will be 2 AWS accounts:

  • Haptik (Account A)
  • Client (Account B)

Perform the below steps in Client’s account:

  1. Create a new s3 bucket or use the existing bucket in that account.
  2. Now, create a new IAM role and add Permissions and Trust Policy to this role. These additions will help the Haptik user in getting validated while trying to act on the client's bucket. Upon validation, this user will have all those permissions which we have configured for our IAM role.
  3. Now, copy the ARN created for our newly created IAM role. Example: arn:aws:iam::810373663331:user/daas_dataexporter
  4. Also, copy the s3 bucket ARN. Example: arn:aws:s3:::pulkitbucket18. Haptik account will now map this Bucket ARN in their policy.
  5. Map this Role ARN in the Haptik account with the user which is whitelisted above in the Client's account.
  6. Note down the AWS Access Key, and AWS Secret Key from the Haptik account and keep handy.
  7. Login to NiFi and open the PUT S3 processor and perform the following:
    1. Configure the Access Key and the Secret Key of Haptik.
    2. Configure Bucket name and Region of Client.
    3. Configure Assume Role ARN as <IAM role created in Client’s account>. Example: Assume Role ARN = arn:aws:iam::810373663331:user/daas_dataexporter
    4. Configure Assume Role Session Name as <role name>. Example: Assume Role Session Name => s3-full-access-role

Viola! We have configured Haptik account’s access key and secret key in NiFi so that our AWS user is able to log in first and then, it will take action like PUT s3 on the Client’s account based on Assume Role ARN configured in NiFi processor. As our Haptik account user is already whitelisted in the Client’s account, this action will be allowed and it will begin to work.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Definition of API Error Codes
  • How to get Brand Insights on Tableau?
  • Using API Analysis on Intelligent Analytics
  • What is Data Export? How to Implement it Using AWS S3?

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0