You may replace <AllowedOrigin>*</AllowedOrigin> with the domain names of the sites your app will be running on or leave it open.

Save the configuration and the bucket settings.

Your S3 bucket should now be properly configured.

Enter S3 Project Settings

On form.io go to your Project Settings page and Select File Storage and open S3. Enter the information for the IAM user and S3 bucket you just created.

Access Key Id

This is from the IAM user credentials.

Secret Access Key

This is from the IAM user credentials.

Bucket Name

The name of the bucket you created.

Bucket URL

This will automatically set for AWS. If you are using a different S3 compatible service, enter the Bucket URL here.

Starts With

All files uploaded to this bucket can be appended with this string to puth them in a folder.

Access Control List

Control the permissions around this file. Select either Public or Private.

Max Size

Optionally set the maximum upload file size.

Policy Expiration

Optionally set how long upload policies will last.

Enter all of this information and save the settings. Your project is now set up to use the S3 File Storage provider. To use it, select S3 on the Storage setting on the file component.

Dropbox

The Dropbox storage provider allows using the Dropbox service for storing files within your project.

To connect your project to Dropbox, go to Project Settings->File Storage->Dropbox. Click the Connect to Dropbox button. A window will open asking you to authorize Form.io to access your Dropbox account. After allowing it you should see “Your project is connected to a Dropbox account.” This indicates that your project has successfully connected.

Next add a File component to a form and select “Dropbox” as the storage provider. Save the form.

All files added to that file component should now be immediately added to the Dropbox folder. Files are limited to 150MB.