= Create an application
:description: :experimental:
// activate the 'menu' AsciiDoc macro
:experimental:

The last step of this Getting Started tutorial is to create an application.

To create and deploy a first application in your local environment, use the *xref:applicationCreation.adoc[Application descriptor]*. This editor defines the skeleton of an application, as it contains references to resources installed in Bonita Portal and used by a given application. It will also help deploy the application directly from Bonita Studio.

The page you have created in the UI Designer, as well as the forms, have been automatically added to project resources under *Pages/Forms/Layout*.

To create the application, add a new application descriptor:

. In the Bonita Studio menu click on menu:Development[Application descriptors > New]
. A guidance pop-up appears. Click on *OK*
. Click on *Add a new application descriptor*. In the pop-up window, type _claims_ in the *Application Token* field, and _Claims_ as *Display name*.

The `applicationDescriptorFile.xml` is initialized and the editor will help you create the application directly from Bonita Studio.

image:images/getting-started-tutorial/create-application/applicationEditor.png[Application Descriptor Editor]

To create an application, you have to define:

* The application token
* The application name
* Which profile will have access to the application
* The menu and pages of our application
* The homepage

. Click on the button *Add one-page menu* under *Navigation* section.
. Type _My dashboard_ in the column *Menu*
. Type the page name _claimsList_ in the column *Application page*
. Enter _dashboard_ in the column *Token*
+
image:images/getting-started-tutorial/create-application/create-application.gif[Application deployment]

[NOTE]
====
The look & feel can be fully customized by modifying the xref:layouts.adoc[layout] and adding a custom xref:customize-living-application-theme.adoc[theme].
====

The application is ready to be used. Now you need to deploy it in Bonita Portal:

. Click on the *Deploy* icon image:images/getting-started-tutorial/create-application/deploy-icon.png[deploy icon]
. Click on *Select all* to make sure everything is deployed: test organization, business data model, process definition, application page
. Make sure that *Clean BDM database before deployment* is not checked as you want to keep your data for testing
. Click on *Deploy*
. In the *Deploy status* pop up window, click on *Close*
+
image:images/getting-started-tutorial/create-application/application-deployment.gif[Application deployment]

Congratulations! You have successfully created your first process and your first application with Bonita.

[NOTE]
====
Verify that the application has been created in Bonita Portal.

. Click on the Portal icon image:images/getting-started-tutorial/create-application/portal-icon.png[Portal icon] in the Bonita Studio coolbar.
. In the upper right corner of the window, click on the *User* drop down menu
. Select *Administrator*
. Click on the *Applications* tab

You will see the application _Claims_ that you have just deployed listed in the *Applications list*. If you click on the URL, _My Dashboard_ page will be displayed in your browser.
====

To learn more about Bonita components and concepts, we recommend the https://www.youtube.com/playlist?list=PLvvoQatxaHOMHRiP7hFayNXTJNdxIEiYp[Bonita Camp tutorial]. Of course xref:index.adoc[official documentation] is also a great place to learn more about Bonita. If you prefer to learn from examples, you can find several on the https://community.bonitasoft.com/project?title=&field_type_tid=3869[community website]. And finally, remember that you can always get help and https://community.bonitasoft.com/questions-and-answers/[ask questions of the Bonita Community].
