Using Pixboost, you can set up a private S3 bucket to be a source of your images. Here, we will go through requirements for the S3 bucket, how to add an integration to Pixboost and how to optimise images from the bucket using API.
AWS setup
We assume that you already have S3 bucket with your images stored there. If not then you can read how to do that here.
To setup a new user that you'll integrate with Pixboost:
Let's consider a configuration from the step above. For instance, if there is an image in S3 bucket with a path (key): prefix/another-prefix/images/hello.png then to resize it we use the following API call: