diff --git a/packages/docs/pages/.vitepress/config.js b/packages/docs/pages/.vitepress/config.js index 44a51012..1118ac41 100644 --- a/packages/docs/pages/.vitepress/config.js +++ b/packages/docs/pages/.vitepress/config.js @@ -68,15 +68,6 @@ export default defineConfig({ { text: 'Connection', link: '/apps/flickr/connection' }, ], }, - { - text: 'Google Drive', - collapsible: true, - collapsed: true, - items: [ - { text: 'Triggers', link: '/apps/google-drive/triggers' }, - { text: 'Connection', link: '/apps/google-drive/connection' }, - ], - }, { text: 'Github', collapsible: true, @@ -87,6 +78,15 @@ export default defineConfig({ { text: 'Connection', link: '/apps/github/connection' }, ], }, + { + text: 'Google Drive', + collapsible: true, + collapsed: true, + items: [ + { text: 'Triggers', link: '/apps/google-drive/triggers' }, + { text: 'Connection', link: '/apps/google-drive/connection' }, + ], + }, { text: 'Google Forms', collapsible: true, @@ -96,6 +96,15 @@ export default defineConfig({ { text: 'Connection', link: '/apps/google-forms/connection' }, ], }, + { + text: 'Google Sheets', + collapsible: true, + collapsed: true, + items: [ + { text: 'Triggers', link: '/apps/google-sheets/triggers' }, + { text: 'Connection', link: '/apps/google-sheets/connection' }, + ], + }, { text: 'HTTP Request', collapsible: true, diff --git a/packages/docs/pages/apps/google-sheets/connection.md b/packages/docs/pages/apps/google-sheets/connection.md new file mode 100644 index 00000000..79afb68c --- /dev/null +++ b/packages/docs/pages/apps/google-sheets/connection.md @@ -0,0 +1,28 @@ +# Google Sheets + +:::info +This page explains the steps you need to follow to set up the Google Sheets +connection in Automatisch. If any of the steps are outdated, please let us know! +::: + +1. Go to the [Google Cloud Console](https://console.cloud.google.com) to create a project. +2. Click on the project drop-down menu at the top of the page, and click on the **New Project** button. +3. Enter a name for your project and click on the **Create** button. +4. Go to [API Library](https://console.cloud.google.com/apis/library) in Google Cloud console. +5. Search for **People API** in the search bar and click on it. +6. Click on the **Enable** button to enable the API. +7. Repeat steps 5 and 6 for the **Google Drive API** and **Google Sheets API**. +8. Go to [OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent) in Google Cloud console. +9. Select **External** here for starting your app in testing mode at first. Click on the **Create** button. +10. Fill **App Name**, **User Support Email**, and **Developer Contact Information**. Click on the **Save and Continue** button. +11. Skip adding or removing scopes and click on the **Save and Continue** button. +12. Click on the **Add Users** button and add a test email because only test users can access the app while publishing status is set to "Testing". +13. Click on the **Save and Continue** button and now you have configured the consent screen. +14. Go to [Credentials](https://console.cloud.google.com/apis/credentials) in Google Cloud console. +15. Click on the **Create Credentials** button and select the **OAuth client ID** option. +16. Select the application type as **Web application** and fill the **Name** field. +17. Copy **OAuth Redirect URL** from Automatisch to **Authorized redirect URIs** field, and click on the **Create** button. +18. Copy the **Your Client ID** value from the following popup to the `Client ID` field on Automatisch. +19. Copy the **Your Client Secret** value from the following popup to the `Client Secret` field on Automatisch. +20. Click **Submit** button on Automatisch. +21. Congrats! Start using your new Google Sheets connection within the flows. diff --git a/packages/docs/pages/apps/google-sheets/triggers.md b/packages/docs/pages/apps/google-sheets/triggers.md new file mode 100644 index 00000000..2189ccb9 --- /dev/null +++ b/packages/docs/pages/apps/google-sheets/triggers.md @@ -0,0 +1,12 @@ +--- +favicon: /favicons/google-sheets.svg +items: + - name: New Spreadsheets + desc: Triggers when you create a new spreadsheet +--- + + + + diff --git a/packages/docs/pages/public/favicons/google-sheets.svg b/packages/docs/pages/public/favicons/google-sheets.svg new file mode 100644 index 00000000..9bdc9721 --- /dev/null +++ b/packages/docs/pages/public/favicons/google-sheets.svg @@ -0,0 +1,89 @@ + + + + Sheets-icon + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file