×
Namespaces

Variants
Actions
Revision as of 15:41, 3 August 2012 by jasfox (Talk | contribs)

How to Obtain Your Own Nokia appID and Token

From Nokia Developer Wiki
Jump to: navigation, search

This article explains how to obtain your own Nokia appId and authenticationToken in order to use the various Nokia Maps APIs

Article Metadata
Dependencies: Nokia Maps API 2.2.1
Article
Keywords: Nokia Maps, appID, authenticationToken, credentials
Created: Oskar Bukolt (29 Aug 2014)
Last edited: jasfox (03 Aug 2012)

Contents

Introduction

To use the various Nokia Maps APIs you need to obtain your own unique appID and token. These are sent to the server and verified before Nokia Maps can be loaded into your web page. Before you can obtain an appID and token however, you must register at http://www.developer.nokia.com/

Joining Developer.Nokia.com

Developer.png

  • 2) On the registration page, click "Register for one now" to obtain your developer.nokia account.

Reg.png

  • 3) Fill on your account details and click "Register"

Create account.png

  • 4) Now click "Get Started" under "New to Nokia Developer"

Newtond.png

  • 5) Fill in your details to complete login. Make sure to choose the platforms you develop for, and agree to the Nokia Terms and Conditions.

Community.png

  • 6) Finally click "Proceed with login"

Completed.png

Final Result

This screen appears if you have successfully created your account.

Succesful login.png

Follow the instructions on screen which advise you to restart your browser.

Obtaining Your Own appID and Token

Once you have created your own developer.nokia account, navigate to http://api.developer.nokia.com/ to obtain your unique appID and authenticationToken.

Tip.pngTip: You can find a link to this page by clicking on the "Register API Key" link in the Nokia Maps API for web documentation pages. Register key.png

The following page appears telling you that you currently have no applications. Click "New App" to create one.

New app.png

  • Give the app a name and description. Then click "Request Access".

Request.png

Final Result

Finally this window appears and displays your new appID and authenticationToken.

Your details.png

Using your App Id and Token

Maps API for Web

The APP_ID and TOKEN are set in the nokia.Settings

nokia.Settings.set("appId", "APP_ID"); 
nokia.Settings.set("authenticationToken", "TOKEN");

see also: http://api.maps.nokia.com/en/maps/start.html

RESTful Maps API

The APP_ID and TOKEN are appended directly to the http request:

http://m.nok.it/?app_id=APP_ID&token=TOKEN

see also: http://api.maps.nokia.com/en/restmaps/start.html

Maps API for Java ME

The APP_ID and TOKEN are set in the ApplicationContext

 ApplicationContext.getInstance().setAppID(APP_ID);
ApplicationContext.getInstance().setToken(TOKEN);

see also: http://www.developer.nokia.com/Develop/Maps/Maps_API_for_Java_ME/Code_examples/


Summary

This article tells you how to obtain your Nokia Maps API credentials. Please refer to Nokia Maps API - Add Maps To Any Web Page to learn how to create your first Nokia Map using them.

478 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×