ROUTERELAY / TESLA CONNECTION

A connection for your next stop.

This page supports the Tesla connection for the RouteRelay iPhone prototype. Your delivery screen stays on your phone. Tesla sign-in and token setup finish with the helper running on your Mac.

Tesla application settings

Use these settings after this custom domain is active and the public-key link below opens without a login.

OAuth grant type
Authorization Code and Machine-to-Machine
Allowed Origin URL
https://routerelay.jaykreps.com
Allowed Redirect URI
https://routerelay.jaykreps.com/tesla/callback
Allowed Returned URLs
Leave blank
Vehicle permission
Vehicle Commands

Connect once, then use your iPhone

  1. Complete your Tesla developer application using the settings above.
  2. Download and open the Mac setup helper. Enter your application’s client ID, client secret and vehicle VIN in its local form.
  3. Sign in on Tesla’s website. Finish the return step on the same Mac, then copy the issued credentials into RouteRelay’s Connection tab.
Download Mac setup helper

Requires Node.js 22 or later. The helper keeps secrets in memory and talks directly to Tesla; this hosted page does not receive access or refresh tokens.

View Tesla public key · Pair the key in the Tesla app