This provider is used to upload files from Strapi into the HubSpot File Manager. It currently requires api key authentication. Visit the HubSpot Developer Documentation for steps to obtain your api key for your portal.
Your configuration is used to determine what portal and location in the file manager your files are uploaded to.
See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.
Example
./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
provider: "hubspot",
providerOptions: {
hapikey: env('HAPI_KEY'),
root: env('FILE_MANAGER_ROOT_PATH')
}
},
// ...
});
- Provide the Ability to Use OAuth Authentication
- Add Testing
- Upgrade to file manager api v2 when released