Hello World App - Create The App

Open Developer Console

Open developer console by using following steps

  1. Login to your pilot org
  2. Click on the user dropdown menu
  3. Select the link to open the Developer Console.


Create HelloWorld App

  1. Select File > New > Aura Application
  2. Enter application name, e.g. helloworld
  3. Click Submit



Aura Bundles

Every component is made up of a set files together known as an Aura Bundle. An Aura Bundle is nothing but a folder containing various parts of a component or an app.

Note: Aura App "*.app" itself is a component with some special features.

Aura Bundles In Developer Console

Developer console shows all these parts of a component or an app in the side bar. You can click on it to edit any of them.

Save The App

Select the helloworld.app app from the side bar, add some text to the body of the app and save it (File > Save).

<aura:application>
Hello, World!
</aura:application>


Test the App

Aura apps use the following URL pattern: <protocol>://<hostname>/<namespace>/<appname>.app
(Example: https://gs0.salesforce.com/aotp1/helloworld.app). Open the browser and open up your app.

Salesforce1 Mobile App

Note: Salesforce1’s mobile app uses one as namespace and is named one.app. So if you open <protocol>://<hostname>/one/one.app, you’ll see it running just like your helloworld app.