Google API settings for import and export

RO CSVI Supports import from Google sheets starting with 7.17.0 version. Step by step procedure for setting up google account API is explained in the document.

Before doing any import or export settings we need to do few Google account settings so the generated keys can be used in RO CSVI import and export templates.

You need to create import template first before setting up Google. The template URL is used as redirect URL in the Google settings.

Install Google library

RO CSVI does not include Google API Library with core files as the library is too big to ship with core package. The Google library is shipped by Google via Composer, this means that you will need the following:

  • shell access to your server
  • composer needs to be installed to install the library

The Google library needs to be installed before setting up the import and export templates, without the library RO CSVI cannot do import or export using Google sheet option.

To install Google library, take the following steps:

  1. Login to the server via SSH (Shell)
  2. Go to path administrator/components/com_csvi/assets/google
  3. Run the command composer install. This will download around 30 MB package into the Google folder.
  4. The installation is finished

If you are having difficulty in installing the Google library with composer please consult with your hosting provider on how to do it for your hosting.

 Setting up a Google Account

  1. Go to
  2. Click on API & Services and then Dashboard

    Google Dashboard to create API key for RO CSVI

  3. Enable Google sheet API by clicking on Enable APIs and Services button on top

    Enable Google API for RO CSVI

  4. In the top menu bar click on the Search products and resources field

  5. In the search field enter Google sheets, select the API and enable it.

    Enable Google Sheets for RO CSVI

  6. Go to Credentials page to create OAuth Client ID and a client secret key.

    RO CSVI Google Credentials page

  7. Click on Create Credentials button on top and select OAuth Client ID

     Google OAuth credentials for RO CSVI

  8. Select Application type as Web application and give a name for OAuth client ID. Here we have set it as CSVI.

    In the Authorized redirect URIs field set the import template URL or export template URL you are going to use Google sheets with. Click on Create button. An example template URL for import would be 


    This DOMAIN must be a top-level domain, for example .com or .org or another valid top-level-domain.

    You can find the ID of the template on the Details page of the template.


    Google OAuth settings for RO CSVI

  9. You will see Client ID and Client Secret Key generated. Note them down and keep them safe.

    Client ID and secret to use with RO CSVI

  10. Click on Done and now you have OAuth Client id and Client secret ready.

  11. Now they can be used in RO CSVI Import/Export templates.

Related Articles