title: Adding users to a user pool with Amazon Cognito
body: <p>I'm trying to get a grasp on how Amazon Cognito works but the documentation is ever so slightly vague. I've found several API's that appear to do something similar, two from Amazon, and a third on Git Hub that seems to be popular. This last one also appears to be written for browsers and while it does work, it requires polyfills, which add complexity that I'd like to avoid.  </p>
  
  <p>The one I'd like to use is <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentity.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentity.html</a>
  But this appears to be the least user friendly of all. There is ample documentation, it just isn't good. </p>
  
  <p>It sounds like you use the function <code>getId()</code> to create the user, but there are references to things like "account id" as parameters that just don't make sense. </p>
  
  <p>Which functions do I actually need from this API to add a user to my user pool? should I even use this API?</p>