---
title: How to Connect Google Accounts for Dokan Vendors with DriveHub
description: "Do you want each vendor in your Dokan marketplace to **use their own Google Drive** for downloads, customer uploads and product images? You're in the right place. You can easily do this with **DriveHub**. Every vendor signs in with their…"
url: "https://sovlix.com/docs/how-to-connect-google-accounts-for-dokan-vendors-with-drivehub/"
updated: "2026-10-07"
category: DriveHub / eCommerce Integration
---

# How to Connect Google Accounts for Dokan Vendors with DriveHub

Do you want each vendor in your Dokan marketplace to **use their own Google Drive** for downloads, customer uploads and product images? You're in the right place.

You can easily do this with **DriveHub**. Every vendor signs in with their own Google account from the vendor dashboard, so their files stay in their Drive and never mix with the store's.

Here is an easy, step-by-step guide to help you set it all up!

## Step 1: Install WooCommerce and Dokan

First, make sure your marketplace plugins are in place:

- From your WordPress admin, click on **Plugins** > **Add New**.
- Search for **WooCommerce**, then click **Install** and **Activate**.
- Search for **Dokan**, then click **Install** and **Activate**.

## Step 2: Install DriveHub and DriveHub Pro

Next, add DriveHub to your site:

- Go to **Plugins** > **Add New** and search for **DriveHub**.
- Click **Install** and then **Activate**.
- Install and activate **DriveHub Pro** as well.

[![Search for DriveHub in Add Plugins, then click Install Now and Activate](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-00-install-drivehub.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-00-install-drivehub.webp)

**Note:** This needs DriveHub Pro.

## Step 3: Connect the Store's Google Account

As the store admin, connect your own Google account first. Vendors sign in through the same app you set up here:

- Go to **DriveHub** and follow the setup screen to add your Google account.

Read our [step by step setup guide](https://sovlix.com/docs/drivehub-manual-google-drive-connection-setup-guide/) to avoid any confusion.

## Step 4: Enable the Dokan Integration

Vendors only see the Google Drive page once you turn on at least one vendor feature:

- Go to **DriveHub** > **Integrations**.
- Find the **Dokan** card under **Stores and courses** and turn on the switch.
- Click on the settings icon next to the switch.
- Turn on any of **Vendor downloads**, **Vendor uploads** or **Vendor Media Library**.
- Click **Done**.
- Click **Save changes** in the bar at the bottom of the screen.

[![The three vendor options in the Dokan settings window](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-01-dokan-settings.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-01-dokan-settings.webp)

## Step 5: Open the Google Drive Settings (Vendor)

From here on, the steps happen in the vendor's dashboard:

- Log in and go to your **Vendor Dashboard**.
- Click **Settings** in the sidebar.
- Click **Google Drive**.

[![The Google Drive item under Settings in the Dokan vendor dashboard](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-02-open-google-drive-settings.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-02-open-google-drive-settings.webp)

## Step 6: Connect Your Google Account

The **Google Drive Accounts** panel says **You haven't linked any account yet.** Let's fix that:

- Click on **Sign in with Google**.
- In the Google window, choose the account you want to use (for example, the **Northwind Prints** account).
- Allow the permissions Google asks for.

[![The Sign in with Google button in an empty Google Drive Accounts panel](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-03-sign-in-with-google.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-03-sign-in-with-google.webp)

The window shows **Connected! Closing window...** and closes on its own. Your account now appears with a green **Active** badge.

[![The Northwind Prints Google account marked Active](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-04-account-active.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-04-account-active.webp)

**Tip:** If nothing opens, your browser blocked the pop-up. You'll see **Your browser blocked the Google sign-in window. Please allow pop-ups for this site and try again.** Allow pop-ups for the site and click the button again.

## Step 7: Add More Accounts (Optional)

A vendor can link more than one Google account, for example one for downloads and one for a second brand:

- Click **Add account** at the top of the **Google Drive Accounts** panel.
- Sign in with the other Google account and allow access.

Only one account is in use at a time, the one with the **Active** badge. To switch, click **Set Active** next to another account.

[![Two connected accounts with the Add account and Set Active buttons](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-05-set-active.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-05-set-active.webp)

## Step 8: Keep Your Accounts Healthy

Here is how to handle the other account actions:

- **Fix a disconnected account:** an account marked **Needs reconnect** has lost access. Click its **Reconnect** icon and sign in again.
- **Remove an account:** click the bin icon, then confirm with **Remove account**. Uploads and downloads using that account stop working.

[![The Remove account confirmation window](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-06-remove-account.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-06-remove-account.webp)

## Step 9: Use Google Drive in Your Media Library (Optional)

If the store admin turned on **Vendor Media Library**, a **Media Library Integration** panel appears below your accounts:

- Turn on **Enable Media Library**.
- Under **Media Library Folders**, click **Select Folders** and pick the Drive folders you want (for example, **Product Photos**). Once folders are picked, the button says **Update Folders**.
- Click **Save Media Library Settings**.

[![The Media Library Integration panel with a folder selected](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-07-media-library.webp)](https://sovlix.com/wp-content/uploads/2026/10/drivehub-dokan-vendor-accounts-07-media-library.webp)

That's it! Your Google Drive is now part of your store. Here is where it is used:

- **Downloadable products:** the **Google Drive** button in **Downloadable Options** opens this Drive. See [How to Let Dokan Vendors Sell Their Google Drive Files](https://sovlix.com/docs/how-to-let-dokan-vendors-sell-their-google-drive-files-with-drivehub/).
- **Customer uploads:** customer files are saved in this Drive. See [How to Let Dokan Vendors Collect Customer Uploads](https://sovlix.com/docs/how-to-let-dokan-vendors-collect-customer-uploads-in-google-drive-with-drivehub/).
- **Media Library:** your chosen folders show up when you add product images.

## Benefits of Vendor Google Accounts

- **Each vendor's own space:** Files stay in the vendor's Drive, separate from the store and other vendors.
- **Quick sign-in:** One click on **Sign in with Google**, no keys or settings to copy.
- **Several accounts:** Switch between accounts with **Set Active** whenever you need to.
- **Easy to fix:** A clear **Needs reconnect** badge tells you when to sign in again.

With **DriveHub** and Dokan, every vendor brings their own Google Drive in a minute.

**Related guides:**

- [How to Let Dokan Vendors Sell Their Google Drive Files with DriveHub](https://sovlix.com/docs/how-to-let-dokan-vendors-sell-their-google-drive-files-with-drivehub/)
- [How to Let Dokan Vendors Collect Customer Uploads in Google Drive with DriveHub](https://sovlix.com/docs/how-to-let-dokan-vendors-collect-customer-uploads-in-google-drive-with-drivehub/)
