Add On – Dropbox

  1. First requirement of this add-on to work is make your site secure. Add an SSL certificate to your site. This is Dropbox pre-requisite for us to generate an OAuth Token.
  2. You need to have a dropbox account for this add-on to work. If you don’t have an account yet you can create a dropbox account at https://www.dropbox.com/.
  3. Once you logged in to your dropbox account. Go to the Developers page and Click my apps. Or go to this link https://www.dropbox.com/developers/. Then on the developers page click My Apps from the side navigation.
  4. We will be creating an app to get your dropbox accounts App Key, App Secret, and Click Create App Button at the top right corner of the page.
  5. Choose the information needed to proceed on the creating an app. Select Dropbox API then choose Full Dropbox access and add the Name of the app.
  6. Click the User Agreement and Click the Creat App button.
  7. A page will be loaded with the credentials you needed for the Add-on of Gravity 2 PDF. The API Key and Secret will be seen automatically. Then on the Redirect URLs under the OAuth 2 section needs to be your URL with https and it should look like this.https://www.site.com/wp-admin/admin.php?page=gravitymergedropbox&integration=dropboxreplace the com of your real website and click Add. Remember that this link needs to be HTTPS or the site needs to have SSL Ceritificate.
  8. Copy the API Key and Secret to a separate document as we will be using this to integrate your Dropbox and Gravity2PDF.
  9. Log in to your wordpress account. It should be something like http://yourdomain.com/wp-login.php. (Change yourdomian.com to your real domain)
  10. Navigate to the left side panel of the dashboard look for the Gravity 2 PDF menu and select Add-ons to start adding the add-ons.
  11. Once the Add-on section is loaded. Click the Install text below the add-on you want to install. In this case we need to install Gravity 2 PDF – Dropbox
  12. Next step is to activate the add-on you just installed. Click the Activate text below the add-on.
  13. Once activated it will be automatically added to Gravity 2 PDF Settings.
  14. Now we will add the API Key and Secret to our newly added plug-in. At the left side navigation of the dashboard hover your mouse to Gravity 2 PDF and click Dropbox.
  15. Add the API key and secret you got from creating your dropbox app to their respective textbox and once it is added click Save. Then click the Get Access Token.
  16. After you click the button I will ask you to log in to your Dropbox account if you are not logged in but if you are logged in already it will automatically paste the Token in the text area provided and it will automatically save itself. Don’t hit the save button again or it will clear the token and you need to generate another one.
  17. Now we will use the newly added Plug-in to our Merge PDF Setting. To do that hover your mouse to Gravity 2 PDF and Click Gravity 2 PDF. Look for the Merge you want to add the Dropbox Add-on and click Edit.
  18. Scroll down at the bottom part of the page and at the Delivery Type dropdown menu look for Dropbox option and click Add.
  19. It will add a textbox to the page which will ask you to name the folder you want to store the file. You can use also some user variables and gravity form IDs as well to keep your files organized.
  20. Once all the configuration is done, test the setting and you will see the folder will be created in your dropbox account with the file inside it.
Close Menu