Google App Scripts
Learn how to configure Google App Scripts for use with Filebase.
Google Apps Script is a scripting language and development platform that allows users to extend and automate the functionality of various Google products, including Google Sheets, Google Docs, Google Forms, and more. It is a cloud-based platform, which means that developers can write and deploy code directly within their Google Drive or G Suite account.
Read below to learn how to use Google App Scripts with Filebase.
git clone https://github.com/jamongeon/s3-http-post-gs.git
const bucket = 'FILEBASE BUCKET NAME';
const accessKeyId = "FILEBASE ACCESS KEY";
const secretAccessKey = "FILEBASE SECRET KEY";
const region = 'us-east-1';
const acl = 'private';
npm install -g @google/clasp
This command will require that you log into your Google account and authorize Google App Scripts.
clasp create --type standalone --title "S3 http post"
This script is configured to use two example files to upload. Change these files to reflect what files you’d like to upload to Filebase.