From the course: AI-Enhanced Coding with Amazon Q Developer

Setup for enterprise use: Demo

- Recall that Q Developer Pro requires IAM Identity Center for authentication of your developers. The Identity Center is a new name for a product called I-A-M-S-S-O or single sign-on. So let's go into Identity Center, IAM Identity Center and we need to get this set up for organizational use. Let's click Enable here, enable with organizations or only in this AWS account. Either one should work just fine. I'm going to go with organizations here. Over on the left, let's click on Users. Add a User. Username is going to be nick-q. Send an email with set up, one-time password. The one-time password, this is nick-q@awsdev.guru, (keyboard clicking) nick-q@awsdev.guru. (keyboard clicking) First name is Nick, last name is G. Contact, job, address, preferences. Next. And I don't need a group. I could create a group, but I don't need one. Review and add user. Add. Here is the access portal URL, username and password. That is quite intense. So let's copy all that information and let's stick it in a notepad document. So that information was saved. Looks like this. We have our portal URL, we have our username, and our one-time password. So with this information I do need to go and configure that password. So let's go ahead and do that. I'm going to grab this URL and I will go incognito for this. My username is nick-q. My password is all of this. Sign in. Let's use Authenticator app. I should have turned off the use of authenticators just for speed. So let's go back to Settings for IAM Identity Center authentication. And I will click Configure on multi-factor authentication, never, save changes. And let's go back to our user and let's try to log in again. I don't know if I'm going to need to recreate that user. So let's see what happens. I meant to turn off MFA before I created the user. Username is nick-q. Password. New password. (keyboard clicking) Click Set New Password on that one there. And after administrator gives you access, you'll be able to do something. So I am now successfully authenticated with IAM Identity Center. And that should be all you need to do to get ready to use Q Developer Pro. Now that we have our user created, we can go into Q Developer. Subscribe. Q Developer Pro, subscribe. You do need... I do have Identity Center. Let's click Enable on this, Enable. All right, so we're good with Identity Center. And let's say Subscribe for Q Developer Pro, Create and subscribe to. It's creating a managed application. Assign a user to this. We're going to assign nick-q. And Assign. So I now have subscribed and I have one user subscribed, which should be here. Turn on view subscriptions from member account settings. Okay. Oh, there could be a delay of 24 hours before users can access this, the subscription. So this could take a little bit of time, but let's just see what happens. There we go. Subscription status is pending. Not being billed yet, you'll be charged upon users first use. All right, let's head over into Visual Studio Code. and down at the bottom we'll click on Amazon Q and sign out. Now I'm going to use it with a Pro license. Continue. Start URL is that URL that was provided to me here. US East 1, authenticate in browser. Could be a problem, but let's see what happens. nick-q. And it looks like I did not have a problem. I was signed into the AWS developer, I'm sorry, the web console. And then I'm signed into Builder ID and now I'm signing into Identity Center. Do I want to allow VS Code and Q Developer? Allow access. Request is approved. And I have now successfully authenticated and I am using a professional level subscription now for AWS or Amazon Q. And there was a message over there on the right that said you logged in with Identity Center, connected with Identity Center. So I am using the professional level of of Q Developer here. Now the suggestions are going to be the same. It's just now I get the dashboard features and security scanning and code references and all of that cool stuff. Let's see what our subscription looks like over here. It still says pending, that's all right but I am successfully connected to it and we can move on with the other demonstrations of using Q Developer Pro.

Contents