[{"data":1,"prerenderedAt":242},["ShallowReactive",2],{"\u002Fblog\u002Faws-account-connection":3},{"path":4,"data":5,"meta":17,"nodes":52},"\u002Fblog\u002Faws-account-connection",{"title":6,"description":7,"date":8,"tags":9,"authors":11,"image":13,"seo":14},"Connect to your AWS account","Connect your AWS account in 5 minutes","2024-02-05",[10],"how-to",[12],"Anas Abdullah","\u002Fimages\u002Fblog\u002Faws-account-connection.webp",{"title":15,"description":16},"AWS Connection Guide: Link Your Account in 5 Min","Connect your AWS account to MilkStraw in 5 minutes. Secure, read-only access. Step-by-step AWS connection guide. Includes IAM role configuration.",{"toc":18,"key":44,"source":45,"stem":46,"extension":47,"kind":48,"type":49,"partial":50,"hash":51},{"title":19,"searchDepth":20,"depth":20,"links":21},"",2,[22,26,29,32,35,38,41],{"id":23,"depth":24,"text":25},"prerequisites",3,"Prerequisites",{"id":27,"depth":24,"text":28},"step-1-create-a-policy","Step 1: Create a Policy",{"id":30,"depth":24,"text":31},"step-2-create-a-new-role","Step 2: Create a New Role",{"id":33,"depth":24,"text":34},"step-3-fill-out-the-access-details","Step 3: Fill Out the Access Details",{"id":36,"depth":24,"text":37},"step-4-youre-all-set","Step 4: You’re All Set",{"id":39,"depth":24,"text":40},"you-have-multiple-aws-accounts","You Have Multiple AWS Accounts?",{"id":42,"depth":24,"text":43},"need-help","Need Help?","blog\u002Faws-account-connection.md","blog","aws-account-connection",".md","document","text\u002Fmarkdown",false,"d9b299b13f695b18",[53,57,63,78,82,85,131,135,138,176,180,183,206,210,216,220,230,234],[54,55,56],"p",{},"This guide will walk you through the process of securely linking your Amazon Web Services (AWS) account with MilkStraw using a cross-account role and an external ID for enhanced security.",[58,59,60],"h3",{"id":23},[61,62,25],"strong",{},[64,65,66,75],"ul",{},[67,68,69,70],"li",{},"Create an account at ",[71,72,74],"a",{"href":73},"https:\u002F\u002Fapp.milkstraw.ai","MilkStraw AI",[67,76,77],{},"Have access to your AWS account with permissions to create roles and policies.",[58,79,80],{"id":27},[61,81,28],{},[54,83,84],{},"Creating a policy in AWS defines the permissions that will be granted. This step involves specifying the actions that Milkstraw can perform on your behalf in your AWS account.",[86,87,88,95,105,116,119,126],"ol",{},[67,89,90,91,94],{},"In the AWS Management Console, go to",[61,92,93],{},"IAM (Identity and Access Management)",".",[67,96,97,98,101,102,94],{},"Click on ",[61,99,100],{},"Policies"," in the left-hand menu, then ",[61,103,104],{},"Create policy",[67,106,107,108,111,112,115],{},"In the ",[61,109,110],{},"Policy editor",", switch to the ",[61,113,114],{},"JSON"," tab.",[67,117,118],{},"Copy and paste the JSON policy content provided by the Milkstraw web app into the editor.",[67,120,121,122,125],{},"Click ",[61,123,124],{},"Next",", give the policy a name and a description. You might name it “MilkStrawPolicy”.",[67,127,121,128,130],{},[61,129,104],{}," to finalize.",[58,132,133],{"id":30},[61,134,31],{},[54,136,137],{},"Roles in AWS are a secure way to grant permissions to entities that you trust. In this case, creating a new role allows Milkstraw to access your AWS account securely, without sharing your access credentials.",[86,139,140,146,156,163,166,171],{},[67,141,142,143,145],{},"Proceed by clicking ",[61,144,124],{}," in the Milkstraw app.",[67,147,148,149,152,153,94],{},"In the AWS console, select ",[61,150,151],{},"Roles"," from the left-hand menu, then ",[61,154,155],{},"Create role",[67,157,158,159,162],{},"Choose ",[61,160,161],{},"Custom trust policy"," as the type of trusted entity.",[67,164,165],{},"Paste the JSON trust policy from the Milkstraw web app, which includes an auto-generated external ID, into the editor.",[67,167,121,168,170],{},[61,169,124],{},", select the policy you previously created in Step 1.",[67,172,173,174,94],{},"Name and describe the role, noting the role name, then click ",[61,175,155],{},[58,177,178],{"id":33},[61,179,34],{},[54,181,182],{},"In the final step of the account On-Boarding on the Milkstraw web app, enter the details from the previous steps:",[64,184,185,191,200],{},[67,186,187,190],{},[61,188,189],{},"Nickname",": A display name for the AWS account for easy identification in settings.",[67,192,193,196,197,94],{},[61,194,195],{},"Account Number",": The AWS account number to be added, available in the AWS console under ",[61,198,199],{},"Account",[67,201,202,205],{},[61,203,204],{},"Role Name",": The name of the role created in Step 2.",[58,207,208],{"id":36},[61,209,37],{},[54,211,212,213,115],{},"Milkstraw is now set up to securely connect to your AWS account. You can verify access or address any issues within the ",[61,214,215],{},"Settings",[58,217,218],{"id":39},[61,219,40],{},[54,221,222,223,225,226,229],{},"You can add another AWS account to your Milkstraw AI profile, go to ",[61,224,215],{},", and select ",[61,227,228],{},"Add Account",", you will start the same journey and follow the same steps as above.",[58,231,232],{"id":42},[61,233,43],{},[54,235,236,237,241],{},"If you encounter any issues or have questions, our support team is ready to assist you. Contact us at ",[71,238,240],{"href":239},"mailto:support@milkstraw.ai","support@milkstraw.ai"," for support at every step.",1794817943727]