# Google

### Domain verification

In order to use Google API Webhooks you have to verify your domain ownership. More about domain verification can be found in [here](https://support.google.com/a/topic/9196?hl=en\&ref_topic=3540977). When Appmixer is running on your servers, you can use [CNAME](https://support.google.com/a/answer/47283?hl=en\&ref_topic=29598) records to verify your domain ownership, but if you want to use components that use Google API Webhooks (*appmixer.google.drive.NewFile for example*) in an Appmixer instance running on your localhost (typical for testing the *trial* or when developing new components) you need something else. When running Appmixer on localhost, you usually use tools like [*ngrok*](https://docs.appmixer.com/6.0/v4.1/appmixer-self-managed/installation#using-webhook-components) to create public tunnel to the Appmixer API. In order to verify *ngrok* domain ownership you can use the [*HTML file method*](https://support.google.com/a/answer/63026?hl=en) .

First, open Google developers console and your Appmixer project and follow instructions in the next picture.

![Domain verification](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9TOUdXX0effHZfsaD%2FDomain_verification_-_AppMixer_QA_-_Google_API_Console.png?alt=media\&token=b605d96e-9ca2-4bed-9071-211099296a10)

Then copy\&paste your *ngrok* URL.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9UJ5Be78_VEjIdmOR%2FDomain_verification_-_AppMixer_QA_-_Google_API_Console.png?alt=media\&token=05219fb0-8c49-43a5-9715-3f075acc7f2c)

Then you have to verify domain ownership.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9UTN5zYu6U1oEbxVJ%2FDomain_verification_-_AppMixer_QA_-_Google_API_Console.png?alt=media\&token=9ad7813f-3899-4d50-a8e8-4d09f7942eb2)

Click 'Take me there' and then 'Add a property'.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9UuP4T4gCKVFb9DTP%2FWebmaster_Central.png?alt=media\&token=cb99854a-4eea-410f-bb6d-2fea612c8b26)

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9VxsfZsXQpFVUXVBU%2FWebmaster_Central.png?alt=media\&token=8d174886-f62b-48a4-ab95-65cd2aa4960a)

Then download the HTML verification file.

![Download HTML verification file](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN8XGAFTgjdoDk0K75Z%2F-MN9WBwJVsJYsdUqKQdo%2FWebmaster_Central.png?alt=media\&token=2886fedf-024e-402a-ac01-160e401f1694)

After you download your HTML verification file, copy it into Appmixer engine.

```
docker cp google52658022a92d779c.html appmixer-401_engine_1:/usr/src/appmixer/gridd/public
```

After then, click the 'Verify' button and that's it. You don't need to restart the Appmixer engine.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN9WUwM_jKCfPtjy2EW%2F-MN9Xtw2XM7HXpWqAaVK%2FWebmaster_Central.png?alt=media\&token=61297923-972b-49c7-8145-86c311ae3c11)

Now, you can go back to developer console and add the *ngrok* domain once more.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN9WUwM_jKCfPtjy2EW%2F-MN9YQAK_9YylqC6Td7_%2FDomain_verification_-_AppMixer_QA_-_Google_API_Console.png?alt=media\&token=e6b7002e-d751-4f0b-8bbf-0b5d3c34bc65)

But this time, because it's already verified, it will appear in the list of your domains.

![](https://198492512-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MN9WUwM_jKCfPtjy2EW%2F-MN9YezE93sErWenNSif%2FDomain_verification_-_AppMixer_QA_-_Google_API_Console.png?alt=media\&token=51ba9723-bd95-4c61-a507-05b86c22a8dc)
