With that let's sign into the console and create our account.
Now if you already have the Amazon account you can use that.
That does work but it can also create a new one.
I'm going to do that here I have to enter a bit of information about myself.
So let me quickly enter my name here.
I enter the email again and of course set up password and what that we can hit create the account and
obviously create a new account and we have to choose which type of account it is.
It is a personal account or a company account.
Now for me this actually is a company account which is why I'm going to fill out that but for you it's
probably a personal account so make sure to fill out all the information which they need.
Make sure to also agreed to their Customer Agreement and for the right code.
Sometimes really hard to read though.
And with that you should be fine you can continue.
Now is the time where you need to enter your credit card information.
So make sure to do that an after do you did this you need to identify yourself now.
For that you need to enter a phone number an Internet security code here too.
And this step sometimes fails.
At least I have a feeling if you're not based in the US if it fails contactee AWOS support a link will
be provided as soon as it did fail and open a ticket with them and then they will identify you differently
they will basically call you manually.
So if you have issues with that step make sure to well basically contact them and unfortunately you
won't be able to continue until this is done.
But you would still be able to continue with this course at least and get a first feeling about what
we're doing.
And then you can always start building it on your own once you are identified.
So I'll do my best or I'll try my luck here.
So here is unfortunately failed.
Now you can try and try your luck again and see if you maybe entered a wrong phone number but if not
click the contact button here to make sure that you reach out to them.
Once you made it through the verification either directly or after having a call with AWOS employee
and getting an e-mail with a link to this page you end up on this support web page here.
And you know you basically have to choose which kind of support you want to receive from AWOS.
Now if you're just getting started.
The basic plan probably is what you're looking for but you can also go for some pay plans.
The basic plan is free.
The other ones are not.
If you plan to use AWOS a lot and you want to get faster or more support now for discours will go with
the basic plan which won't cost you a dime.
Now offer selecting it or basically keeping that selection and clicking on continue.
You'll be forwarded to the final step which is that you finish your sign up and activation.
Now you can launch the management console and you enter the realm of the many aid services you may use
now just as a reminder.
Have a look at the pricing page.
If you do plan to play around with some of the services as they might not be free now for discourse
Let's get started with our first basic service back end which we could call from a front application
even though we have no front that application will still find a way to do so for us we want to create
an API and we can then use such an API I'll simply paste it into our browser.
This is how we will call it.
Now it's word that of course we need that API.
So let's search for API and we find the API gateway which is the first search we're going to use.
No worries we'll have to look at this and yabber services from the course.
Now let's click on API gateway and we're taken to a service where we can create our own AP office with
some clicks in this nice console.
So let's get started.
And we came from friends window and now we want to create a new API.
So let's click that and give it any name and or simply name it for this API of course you are free to
choose a name and possibly all to give as a description hit create API thereafter and this will create
the API for you.
Now if you're coming from let's say a programming background and you created API eyes programmatically
beaded with node with Ph B or anything else you might find this strange.
Where are we entering our code.
The answer is we aren't.
We will define all the HGP methods you want to react to and all the resources our API should use in
this editor here.
So what we can do now is click on actions here and basically create a new resource which is like a or
else segment.
Here you can give it any name.
So for now I will simply name those first API test.
And of course you're free to choose anything else and you'll see that it also suggests that we take
this as a payoff.
Let's click create resource now and we added a new you or else segment basically of course we can't
call that yet though because we haven't defined which requests you want to handle.
So let's add such a request by clicking on create Methot.
And now we can to find to which HTP method we want to react or which code or whatever we want to do
upon such a request.
Let's choose a gets requests here so that we can simply enter and in the browser you are l and click
that button here and there after you have a broad band of things you could do.
You could call Ahlam the function lampost is code on the man thing and we will dive into it later in
this course you could forward the request to a number HTP endpoint.
You could use another AWOS service or what I want to do here is you can mock a response which basically
is like a dummy responds click save and once it's done you created your first API endpoint and you proceed
with this screen here which might look confusing.
Basically here you can find some things all the requests you are expecting.
The Devils are fine for us here.
And the response you want to return.
Interesting for us is the integration response.
Because here we can basically give back some dummy data.
Click on that arrow here to expand the default response and now click on body mapping templates here.
If you click on an application Jason you can define how data returned by whatever you're doing and here
were doing nothing because we have a mock and point which does nothing.
So how do you want to transform the data you receive.
Now since we don't receive any data what we can do is we can return new data.
So let's enter adjacent objects here with double curly braces.
Then maybe give it a key of message enclose to double quotation marks since we are creating adjacent
object here.
And then let's define a message.
This is working all is enclosed in double quotation marks on the disk.
Hit save on the bottom right here.
Now it a saved you can also save your.
And once you did all that you are now ready to deploy this API which means publish it to the web so
that you can access it.
For that we go to actions the poloi API.
And here we have to create a stage.
Stages are a feature which allow you to manage different workings of the API like a development API
in a production API.
Here I want to create a new stage and I'll name it death for development but you're free to choose anything
else.
Maybe give it a description if you want and give this specific deployment description if you want.
I won't do either.
So simply hit deploy ones who are done and you'll be presented with this.
You were LP dessous you were all leading to your API.
So let's copy that your L here.
Open you tab and enter it and we see this error.
We see adjacent object but not the message we defined.
Keep in mind this you are only leads to your API.
But if you have a look at your API here we only define a method we want to handle for the first API
test path.
So we're sending a request but we're not handling this on the route route here so let's simply append
first API tests here at the end and try again and we see dessous working our custom adjacent object
and this is our very first little API.
And of course you could now imagine having a web app or a mobile app which actually uses this Jason
object transforms it into data it can use and then works with the data returned by API.
Now for all the course we're going to dive deeper into that and learn a bit more about what we can do
with the API gateway and how we can do more than just sent back dummy data.
But for now I'd say that's a great first step to get started.