Get a routing API key for “Time to leave”

“Time to leave” tells you when to set off, based on the current traffic. To calculate the travel time, CER asks a routing service. For that you need your own, personal API key from Google or TomTom. The key stays on your phone: CER doesn’t send it anywhere except to the provider, and it isn’t included in exported settings.

Which one should I take? Both give you a free key without a credit card. For everyday use, take Google: its free usage is meant for real use and is plenty for personal use. TomTom is quicker to set up (about five minutes), but its terms describe the free key as being for evaluation and testing.

→ Google key → TomTom key → Enter the key in CER → Problems?

Google Routes (free, recommended)

You don’t need a credit card or a billing account: without one, Google gives you its free usage with lower limits, which is plenty for CER. Google only charges you if you add a billing account and upgrade to a paid account yourself.
  1. Sign in. Open console.cloud.google.com, sign in with your Google account and accept the terms of service.
    Google sign-in Welcome to Google Cloud with the terms of service
  2. Create a project. Tap the project picker at the top, then New project. Give it a name with 4 to 30 characters, for example “CER Routing”, and tap Create.
    New project with the name CER Routing Project created
  3. Enable the Routes API. Open APIs & Services → Library, search for Routes API and tap Enable. The first time, Google asks you to verify your account: just tap Verify Account. Even though the dialog mentions a phone number and payment details, when we tried it Google didn’t ask for anything. If Google then offers to create or protect an API key for you, tap Maybe later: you’ll create the key yourself in step 5.
    Routes API with the Enable button Verify your account to use Maps APIs and services
  4. Enable the Places API (New). Do the same for Places API (New). CER uses it to find places such as “Airport” or a shop name.
    Places API (New) with the Enable button
    After verifying, Google sometimes switches to a different project or language. Check that your project (“CER Routing”) is shown at the top before you go on.
  5. Create the key. Open APIs & Services → Credentials. Tap the menu (⋮) next to Credentials, then Create credentials → API key.
    Credentials page without API keys Menu with Create credentials Create credentials → API key
  6. Choose the APIs and create the key. Under Select API restrictions, tick Routes API and Places API (New) (type in the filter field to find them) and tap OK. Leave Application restrictions on None and tap Create. Then tap the copy icon next to the key.
    Create API key dialog Selecting Routes API in the API list Selected APIs: Places API (New) and Routes API Application restrictions None and the Create button API key created, with the copy icon
  7. Only if you add a billing account later: under APIs & Services → Routes API → Quotas you can lower the daily request limit, and under Billing → Budgets & alerts you get an e-mail before costs come up.

Now continue with entering the key in CER.

TomTom (free to try)

  1. Create a free account. Open my.tomtom.com and tap Register / sign in, then No account? Create one.
    my.tomtom.com with the Register / sign in button Sign-in page with the link No account? Create one
  2. Confirm your e-mail address. Enter your e-mail address, check your mail and enter the code TomTom sends you.
    Create account: enter your e-mail address Check your email: enter the code
  3. Open your keys. Open the menu (☰) and tap Keys, then API & SDK Keys. TomTom has already created a key for you, called My First API key. It includes everything CER needs, so you don’t have to create one.
    MyTomTom menu with Keys Keys → API & SDK Keys Key list with My First API key
  4. Copy the key. Swipe the table to the left until you see the Key column, then tap the key. TomTom shows Copied!.
    Key column with the shortened key Tapping the key shows Copied!
TomTom’s free plan currently includes several thousand requests per day. CER only asks when an appointment with an address is coming up, and less often while you still have plenty of time, so you normally stay far below that. You can also set a daily limit in CER.

Enter the key in CER

  1. In CER, open Settings → Compatibility settings → Routing API keys. You’re probably here already if you came from the app.
    CER Routing API keys screen
  2. Tap API key under Google or TomTom, paste the key and tap OK. CER tests the key right away by calculating a short test route. “The key works” means everything is set. You can repeat the test any time with Test key.
    Entering the API key in CER Test result: The key works
  3. Choose which provider to use in the reminder settings under Time to leave. You only need a key for the provider you pick there, and you can choose a different provider for each calendar.

Problems?

The test says the key is invalid or not authorized

  • Check that you copied the whole key, without spaces at the start or end.
  • Google: are Routes API and Places API (New) both enabled, ticked for the key? A new or changed key can take a few minutes to start working.
  • TomTom: open the key in your dashboard and check that Routing API and Search API are enabled for it.

The test says the limit has been reached

You’ve used up the requests for today (or the quota you set). The counter resets the next day. CER shows how many requests it made today on the same screen.

Still stuck?

Write to us via the contact page.

Scroll to Top