Connecting Google Drive with the Coursepress Pro can be a bit tricky, you will need to add a Client ID also along with API key for Google Drive.


Follow this process to be able to embed files and documents from Google Drive in your courses. 

  1. Click this link

  2. Click on 'Create Project' button

  3. Give your project a name and click on 'Create'

  4. Click on 'Credentials' link in the left sidebar

  5. Click on 'OAuth consent' tab, enter a product name and click on 'Save'. You can leave the rest of the fields blank.

  6. Now click on 'Create Credentials’ dropdown button and select OAuth Client ID

  7. Select 'Web application' as Application type, enter your WordPress website's URL with 'www.' as Authorized Javascript origin (http://www.yourwebsite.com) and click on 'Create button

  8. Now you have your Client ID created. You are almost there. Let's create your API key! Click on 'Create credentials'dropdown button again and click on 'API Key'

  9. Choose 'Browser Key' from the popup

  10. Enter the domain name int the format *.yourwebsite.com/* (without ‘http') and click on 'Create' button

  11. Click on Library menu from the sidebar

  12. Search for 'Google Drive API', click on it and enable it

  13. Go back, search for 'Google Picker API' and enable it

  14. Now copy Client ID and API Key from the 'Credentials' page and paste them in your website's 'Cloud Settings' page. You will find this page in the dashboard of your website. Go to settings --> EAD Coursepress --> Cloud Settings.