Skip to content

Commit 4c68286

Browse files
committed
Add steps
1 parent a202334 commit 4c68286

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

app/pages/index.vue

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,24 @@ const upload = () =>
6767
</template>
6868
</ULandingHero>
6969

70+
<ULandingCTA
71+
:title="`Your origin domain is https://${id}.fleetkey.cc`"
72+
card
73+
/>
7074
<ULandingSection
71-
headline="Your Origin domain:"
72-
:title="`${id}.fleetkey.cc`"
75+
title="Step 2"
76+
:description="`Create a Tesla Fleet application and set its origin to https://${id}.fleetkey.cc, and redirect to https://my.home-assistant.io/redirect/oauth.`"
77+
>
78+
<UButton
79+
to="https://developer.tesla.com/request"
80+
label="Create Fleet API application"
81+
target="_blank"
82+
block
83+
/>
84+
</ULandingSection>
85+
<ULandingSection
86+
title="Step 3"
87+
description="A public key must be hosted on the application's domain before making calls to Fleet API. The key is used to validate ownership of the domain and provide additional security when using Vehicle Commands and Fleet Telemetry."
7388
>
7489
<div>
7590
<div>
@@ -106,5 +121,15 @@ m5+vb6BWO6+bItnWq3dO5zjyFEi7N1RCigc9hgKtWPMZSLBi9rvoepv7fQ==
106121
/>
107122
</div>
108123
</ULandingSection>
124+
<ULandingSection
125+
title="Step 4"
126+
description="Generate a partner authentication token and use it to call the register endpoint to complete registration with Fleet API."
127+
:links="{
128+
label: 'Documentation',
129+
to: 'https://developer.tesla.com/docs/fleet-api/getting-started/what-is-fleet-api#step-3-generate-a-public-private-key-pair',
130+
}"
131+
>
132+
More on this step coming soon
133+
</ULandingSection>
109134
</div>
110135
</template>

0 commit comments

Comments
 (0)