Table of Contents
1. Create a Tesla developer account
You must create a Tesla developer account and submit a new application.
1. Register as a Tesla developer with your Tesla account

2. Submit a “New Request”from the dashboard

Well done, you’re ready to create your application.
2. Create your own Tesla API (6 easy steps)
MyTeslamate provides you with all the necessary endpoints to facilitate the creation of Tesla API Application.
Then, we’ll be able to use your Tesla API Application in your Teslamate, Home Assistant or anywhere.
1. Link your application with your profile

2. Fill Application name, description and purpose of Usage. You can say what you want.

3. Open a tab on https://app.myteslamate.com/tesla to copy your own URL(s)

4. Paste URLs on according fields.
Only include my.home-assistant.io if you think you will use it.

5. Check (all) scopes to allow in this API application

6. Skip and Submit (do not register Credit Cart!)

You can keep the Client ID and Client Secret because you’ll need them later…

Great, you created your first Tesla API Application! You should receive a validation email from Tesla. Now you need to register this application to be able to use it.
3. Register this application
You must now register your application and log in one time the use it:
1. On your own API page, click on “Register my application”

Run the script to easily register your application and generate credentials from your computer and share your secret only with Tesla.
You can view code on this GitHub repository. Feel free to improve it.

3. Execute the script. At the step 3, you need to click on login link to get the code to paste from MyTeslamate

After Tesla login, the code is displayed in the green block.

3. This is the end of the script, you now can copy/paste your new tokens

You’re now using your own Tesla API directly for free!
4.Usage
You can watch your usage on the Tesla Developer Website.
Go to the Tesla API dashboard, and control costs. Disclaimer: you never should as much as this!

You can use your own API from your self-hosted Teslamate, evcc, Home Assistant, etc.
Also, you can log in MyTeslamate with your Tesla account to use our proxies via our Fleet page. You will be able to send commands in a minute to your device(s)!


