# Create and deploy an API

From your Project's home page, click on **+** inside the API module. 

![Project home](picts/api-home-new.png)

You will be able to choose between **an existing API template** from the internal *the platform Store*, or to **import your own code** by linking a Git repository.

![API store](picts/api_store.PNG)

Choose a name for your API, and enable the option **auto build**. This will download the source code of your API and automatically build it for you. You can also activate auto-deploy right away, or check out down below how to deploy your API manually.

![API settings](picts/api_settings.PNG)

From there, give it a couple of seconds as the creation of the API may take a moment. 

>the Platform uses a **[blue-green](https://en.wikipedia.org/wiki/Blue-green_deployment) deployment methodology** ensuring 100% availability of your data. You can therefore seamlessly create & deploy new versions of your API without risking any downtime!

![API building home](picts/api_building1.PNG)

On the home page of your API, you'll find three parts:
* __Monitoring__: status of your API once it has been deployed
* __Active__: status of your "active" version, that is to say, the one you are currently working on
* __Versions__: list of all the versions (also called tags) available in your API

![Project home](picts/api_building.PNG)
You can see more details about the version you just created using the arrow on the right of it.

![Project home](picts/api_buildinglogs.PNG)
Check the activity log by clicking on "Open Console". Since you have activated the auto-build when creating the API, it has already started. 

![Project home](picts/api_logs.PNG)
When it is done, you should see a last log "EndBuild success".

![Project home](picts/api_dpl.PNG)
To start the deployment, please click on "Deploy".

![Project home](picts/api_deploying.PNG)
Deployment starts, and may take a few minutes.

![Project home](picts/api_deployed.PNG)
When the deployment is complete, the "Open" button appears.

![Project home](picts/open.png)
When you open your API, you now land on this screen.

To access your API, simply install an application and connect it to the API. You can also use its endpoints live.