-
-
Notifications
You must be signed in to change notification settings - Fork 28
Setup Instructions (Gather API keys)
Anthony Hayward edited this page Apr 8, 2024
·
5 revisions
Follow these steps to set up the Miles application:
Welcome to Miles! You'll have to go through some setup before you can use Miles.
Please enter your OpenAI API key in the app. You can obtain it here:
- 1. Log in at the top right
- 2. Click API
- 3. Click the lock icon from the left sidebar (API Keys)
- 4. Click 'Create new secret key'
- 5. Copy and paste it in the app
Enter your Spotify Client ID in the app:
- 1. Create or access your Spotify account at the Spotify Developer Dashboard.
-
2. Create a new app with:
- App Name: Miles (or whatever you want)
- App Description: Helpful assistant (or whatever you want)
- Redirect URI: http://localhost:8080/callback
- 3. Your Client ID is located on your app's dashboard
Enter your Spotify Client Secret in the app:
- 1. In the Spotify Developer Dashboard, select your 'Miles' app.
- 2. Click 'Show Client Secret' on your app's dashboard to retrieve your Client Secret
Please enter your Default Location in the app:
- (The default city you want Miles to get the weather for, must be capitalized)
Please choose your preferred unit in the app:
- Type either Imperial or Metric.
- Enter your Home Assistant URL, the same one you use to open Home Assistant in the browser, it might look like this
http://homeassistant.local:1234
- Then enter your long lived token, this can be found in Home Assistant by clicking your name at the bottom left, and then clicking security, then scrolling down until you see create long lived token.