WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Create a WordPress Amazon S3 Upload Form

by Shahzad Saeed on Jan 8, 2018

Do you want to send a user submitted files to your Amazon S3 account? With WPForms, you can allow users to submit files through your WordPress forms, and automatically send it to your Amazon S3 account. Let’s take a look at the how to create a WordPress S3 upload form.

Before we begin, keep in mind that this tutorial helps you to store a copy of your files in S3. It doesn’t move or offload your files to S3, so you can find your original file on your WordPress site.

Install WPForms and the Zapier Addon

The first thing you need to do is to install and activate the WPForms plugin. Here’s a step by step guide on how to install a WordPress plugin.

After the installation, you’ll need to create a form. You can see our tutorial on creating a file upload form in WordPress, or watch this video for instructions:

Depending on your needs, you may edit other form fields with our drag and drop builder. In this example, we’ll be naming our form as Amazon S3.

In order to copy the files to Amazon S3 that your users submit through your form, you’ll need to install and activate the Zapier addon on your site.

The Zapier addon lets you connect your WordPress forms to over 500+ web apps, including Amazon S3.

For more help with this step, you can check out our tutorial on how to install and use the Zapier addon.

Now let’s take a look at how to connect WordPress forms to your Amazon S3 account.

Log into your Zapier account and click the Make a Zap button in the top navigation.

Then, follow Zapier’s step by step guide to create a Zap. To see screenshots of every step, you can refer to our tutorial on using Zapier with WPForms.

Make sure to choose the Amazon S3 form you just created, in the Edit Options step. You must have at least one test entry on your form before fetching existing entries.

WordPress s3 upload form

You should then see a successful confirmation message.

Connecting Your WordPress Forms to Amazon S3

Now that you’ve connected Zapier to the WPForms plugin, it’s the time to connect WPForms to Amazon S3.

The first step is to choose Amazon S3 as the action app. Use the search bar to find Amazon S3 app.

choose amazon s3 as action app

Then, you’ll be asked to select Amazon S3 action. As we’re looking to upload a file to S3, let’s choose Upload File and click Continue.

select amazon s3 action

Now you need to connect your Amazon S3 account to Zapier. To do this, you’ll need to authorize Zapier to access your Amazon S3 data.

allow zapier to access amazon s3

To get your access keys, log in to your Amazon S3 account, click My Security Credentials under your profile name.

click security credentials

In the Security Credentials page, click Create New Access Key.

click create new access key

Find your Access Key ID and Secret Access Key in the popup that appears. Copy them into your Zapier account and click Yes, Continue.

access key amazon s3

After authorizing the account, click Save + Continue.

In the next step, you’ll be asked to set up Amazon S3 upload file.

In the Key field, you may select a field that lets you identify the user who submits the form. This can be name or email address. In the File field in Zapier, choose the file upload field you created in your form.

edit template step

Then, click Continue.

Now you can test your Amazon S3 integration. If everything works fine, you’ll see a success message.

wordpress s3 upload success

You’re all set!

You can now automatically copy the files your users submitted to your Amazon S3 account.

If you liked this article, you might also enjoy our article on creating multiple file uploads form.

What are you waiting for? Get started with the most powerful WordPress forms plugin today.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.