Added Automatic setup to application credentials page (#23271)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Danny Tsang 2022-07-05 09:27:05 +01:00 committed by GitHub
parent cfff9232e5
commit 32a1702809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -12,15 +12,24 @@ ha_integration_type: integration
The Application Credentials integration is used by integrations that use OAuth2 to link your account to Home Assistant. The most common and preferred approach is using account linking with Home Assistant Cloud, however not all cloud providers support that and integrations can use Application Credentials instead. Additionally, users may use Application Credentials if preferred instead of Home Assistant Cloud Account Linking.
## Automatic Setup
Some integrations like [Google Calendar](/integrations/google/) will automatically create application credentials as part of adding an integration. To view any entries:
1. Go to **{% my integrations title="Settings -> Devices & Services" %}**
2. Click the overflow menu **...** and choose **Application Credentials**
![Application credential list](/images/integrations/application_credentials/application-credentials.png)
## Manual Setup
Note that integrations that do not support cloud linking will prompt to setup Application Credentials
when setting up for the first time. You may also manually enter credentials with the following steps:
1. Obtain an OAuth *Client ID* and *Client Secret* from the cloud provider. The integration should have specific instructions for this.
2. In Home Assistant navigate to **Settings** -&gt; **Devices &amp; Services**
2. In Home Assistant navigate to **{% my integrations title="Settings -> Devices & Services" %}**
3. Click the overflow menu **...** and choose **Application Credentials**
4. Select the integration, enter a *Name* and your OAuth *Client ID* and *Client Secret*.
5. Save the credentials
![Manual setup](/images/integrations/application_credentials/application-credential-setup.png)
You may then visit **Integrations** and setup the integration.

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB