No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Before You Begin
A namespace is not required to create Lightning components. If your org doesn't have a namespace, you can use the default namespace to access your components. In this quick start, we're using a namespace.
You can create Lightning components using the UI in Enterprise, Performance, Unlimited, Developer Editions or a sandbox. To register a namespace prefix, you need a Developer Edition organization, or DE org for short.
Create a Developer Edition Organization
If you don’t have a DE org, create one by following these steps.
- In your browser, go to http://bit.ly/lightningguide.
- Fill in the fields about you and your company.
- In the Email field, make sure to use a public address you can easily check from a Web browser.
- Type a unique Username. Note that this field is also in the form of an email address, but it does not have to be the same as your email address, and in fact, it’s usually better if they aren’t the same. Your username is your login and your identity on developer.salesforce.com, so you’re often better served by choosing a username such as firstname@lastname.com.
- Read and then select the checkbox for the Master Subscription Agreement and then click Submit Registration.
- In a moment you’ll receive an email with a login link. Click the link and change your password.
Register a Namespace Prefix
Next, register a namespace prefix. Your namespace prefix must be globally unique across all Salesforce organizations. Namespace prefixes are case-insensitive and have a maximum length of 15 alphanumerical characters.
- From Setup, click .
- Click Edit.
- Review the selections that are required for configuring developer settings, and then click Continue.
- Enter the namespace prefix you want to register.
- Click Check Availability to determine if the namespace prefix is already in use.
- If the namespace prefix that you entered isn’t available, repeat the previous two steps.
- Click Review My Selections.
- Click Save.
Your namespace is used as a prefix to the components and Apex classes you are creating. In addition, use the namespace to address any apps you create by accessing:
https://<mySalesforceInstance>.lightning.force.com/<namespace>/<appName>.app, where <mySalesforceInstance> is the name of the instance hosting your org; for example, na1.