npm i backendless
Reference the library with the URLs below:
non-compressed library (mapped to the latest released version): https://api.backendless.com/sdk/js/latest/backendless.js minified/compressed library: https://api.backendless.com/sdk/js/latest/backendless.min.js TypeScript library: https://api.backendless.com/sdk/js/latest/backendless.min.map https://api.backendless.com/sdk/js/latest/backendless.d.ts Specific versions of the library can be referenced with the following URL format: https://firstname.lastname@example.org
If your application is hosted in the European Backendless hosting zone, add the following line of code. For the applications running in the North American data center, you do not need to set the URL - the SDK comes pre-configured with the North American API endpoint URL.
Backendless.serverURL = "https://eu-api.backendless.com"
Backendless.initApp( application-Id, api-key )
Application ID and API Key¶
Values for the
api-key arguments in the application initialization call must be obtained through the Backendless Console:
- Login to your account and select the application.
- Click the Manage icon from the vertical icon-menu on the left.
- The App Settings section is selected by default. The interface contains values for Application ID and API keys for each supported client-side environment.
- Use the Copy icon to copy the value into the system clipboard.