Frequently Asked Questions

Features & Capabilities

What is the Hygraph-AWS S3 integration and what does it enable?

The Hygraph-AWS S3 integration allows you to access assets stored in your AWS S3 bucket directly from the Hygraph UI and use them in your Hygraph project. This streamlines asset management by enabling you to select, organize, and publish assets from S3 within your content workflows. Learn more.

What can I do with assets from AWS S3 in Hygraph?

You can browse, select, and export assets from your AWS S3 bucket into Hygraph content entries. Assets can be organized, localized, and published as part of your digital content workflows. If your S3 field allows multiple assets, you can select several at once and arrange their order within Hygraph. See details.

Are apps in Hygraph environment-specific?

Yes, apps like the AWS S3 integration are environment-specific. Their configuration is applied per environment, so if you work with multiple environments in a project, you need to configure the app for each one individually. More info.

Technical Requirements & Setup

What are the prerequisites for using the Hygraph-AWS S3 integration?

To use the Hygraph-AWS S3 integration, you need:

Detailed setup instructions are available here.

How do I install the AWS S3 app in Hygraph?

To install the AWS S3 app:

  1. Go to the AWS S3 App page in Hygraph.
  2. Select your project and environment, then click Install app.
  3. Authorize the app when prompted.
  4. Configure the app by entering your AWS credentials.
  5. Click Save config settings to finish. A notification will confirm your changes.
Video tutorial: Hygraph Studio - S3 Integration - Install the app.

How do I add the AWS S3 field to a model in Hygraph?

To add the AWS S3 field:

  1. Navigate to the Schema builder in Hygraph.
  2. Select the model you want to add the S3 field to.
  3. Choose the S3 field from the Add fields sidebar.
  4. Fill in the Display name; the API ID will be auto-filled.
  5. Optionally, add a Description and configure field options (multiple values, localization).
  6. Click Add to save.
Video tutorial: Hygraph Studio - S3 Integration - Add the S3 field to your schema.

How do I use AWS S3 assets in the Hygraph content editor?

To use AWS S3 assets:

  1. Go to the Content editor in Hygraph.
  2. Select the view configured for the S3 field.
  3. Create a new entry or edit an existing one.
  4. Locate the S3 section and click Add S3 asset to select assets from your bucket.
  5. Export selected assets into your content entry. You can organize and reorder them as needed.
  6. Click Save or Save & Publish to finalize.
Video tutorial: Hygraph Studio - S3 Integration - Use S3 in the content editor.

How do I set up AWS IAM user and permissions for Hygraph integration?

To set up an AWS IAM user:

  1. Go to Amazon IAM > Users and create a new user.
  2. Attach a policy with permissions: GetObject, ListBuckets, ListObjectsV2, PutObject.
  3. Create an access key and secret access key for the user.
  4. Store these credentials securely.
See full instructions.

How do I configure my AWS S3 bucket for Hygraph integration?

To configure your AWS S3 bucket:

  1. Create a bucket in Amazon S3.
  2. Disable Block all public access in Permissions.
  3. Add a bucket policy for public read access and for your IAM user. Example policies are provided in the documentation. See examples.

Security & Compliance

What security and compliance certifications does Hygraph offer?

Hygraph is SOC 2 Type 2 compliant (since August 3, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure that Hygraph meets international standards for information security management and data protection. For more details, visit the security features page and security and compliance report.

How does Hygraph ensure data security when integrating with AWS S3?

Hygraph encrypts data both at rest and in transit, supports granular permissions, SSO integrations, audit logs, and regular backups. When integrating with AWS S3, you control access via IAM policies and bucket permissions, ensuring only authorized users and services can manage assets. Learn more.

Use Cases & Benefits

Who can benefit from the Hygraph-AWS S3 integration?

Developers, product managers, and marketing teams in industries such as ecommerce, technology, manufacturing, and global enterprises can benefit from the Hygraph-AWS S3 integration. It is ideal for organizations needing scalable asset management, localization, and streamlined content workflows. See documentation.

What problems does the Hygraph-AWS S3 integration solve?

The integration solves operational inefficiencies by enabling direct access to S3 assets within Hygraph, reducing developer dependency, and streamlining content workflows. It also addresses technical challenges like asset management, localization, and scalability for content-heavy projects. Learn more.

Support & Resources

What support and resources are available for setting up the Hygraph-AWS S3 integration?

Hygraph provides extensive documentation, video tutorials, and guides for AWS S3 integration. You can access 24/7 support via chat, email, and phone, join the community Slack channel, and consult the Hygraph Documentation. For AWS-specific questions, refer to the AWS S3 documentation.

Performance & Reliability

How does Hygraph ensure high performance and reliability for content delivery?

Hygraph features Smart Edge Cache for enhanced performance and faster content delivery, high-performance endpoints, and practical advice for optimizing GraphQL API usage. These features ensure reliable, scalable content management for global audiences. Read more.

Help teams manage content creation and approval in a clear and structured way
Hygraph
Docs

#Connect your Hygraph project to AWS S3

AWS S3 is a service that provides object storage through a web service interface.

#What you can do with the Hygraph-AWS S3 integration

With this app you can access assets stored in your AWS S3 bucket directly from the Hygraph UI and then use them in your Hygraph project.

#Prerequisites to use this integration

  • You must have a Hygraph account. If you don't have one, you can create one here.
  • You must have a Hygraph project with at least one model.
  • You must have an AWS account. If you don't have one yet, you can create one here.
  • You must have your Access key and Secret access key ready. Here you can see how to get them.
  • You must have access to AWS bucket. We explain how to do this here.

#Install the AWS S3 app

Click here to install the AWS S3 App on Hygraph, then follow these steps:

  1. Use the dropdowns to select which project and environment you want to install the app in, then click Install app.
  2. The permissions pop-up will display. Clicking Authorize app finishes the installation and takes you to the app configuration screen.
  3. Next, you need to configure the app. To do that, you first need to fill in your credentials. We explained how to get this information in the prerequisites section.
  4. Click Save config settings to finish the configuration process. A pop-up notification in the bottom right corner of the screen will indicate that the changes have been saved.

#Add the AWS S3 field to a model

  1. Navigate to the Schema builder.
  2. Select the model that you want to add the S3 field to.
  3. Select the S3 field from the Add fields right sidebar.
  4. Complete the Display name field, and the API ID will be auto-filled by the system. Optionally, you can also add a Description.
  5. This screen also allows you to control different properties of your Akeneo field: you can allow multiple values, or you can localize the field, by selecting the checkboxes in the Field options section.
  6. Click Add.

#Use AWS S3 in the Content editor

  1. Navigate to the Content editor.
  2. Select the view that you configured the S3 field for.
  3. Click + Add entry to create a new entry or, alternatively, edit an existing entry by clicking on the pencil icon.
  4. Locate the S3 section of the screen and click on Add S3 asset. This opens a new screen where you can select and export assets into your Hygraph content entry. This screen shows the root folder selection as default view.
  1. Select the asset(s) you want, and then click Export. If you configured your S3 field to allow multiple assets, you will be able to use the checkboxes to select several assets here.
  2. After selecting the asset(s) you want and returning to the content entry, your selection will display on the list. You can optionally use the six dots icon to drag and drop the assets on the list to organize them in the order you want.
  3. Finally, click Save or Save & Publish, as needed.

#Access to AWS bucket

#User setup

AWS Bucket - User setupAWS Bucket - User setup

  1. Go to Amazon IAM > Users and click Create user to create a new one.

  2. Attach a policy clicking Add permissions in your user details view. You can either add the user to a group or attach policies directly.

  3. Go to Security credentials and click Create access key to create a new access key. You can only have two at a time, so if you have two already the button will be grayed out.

  4. Under Access key best practices & alternatives, select Third-party service.

  5. Copy your Access key and Secret access key and store them somewhere safe.

#Bucket setup

AWS Bucket - Bucket setupAWS Bucket - Bucket setup

  1. Go to Amazon S3 > Buckets and click Create bucket to create a new one.
  2. In your bucket's detail view, go to Permissions and disable Block all public access.
  3. Add a bucket policy.

Parts of the policy:

{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::aorltestbucket/*"
}

Public read access allows using assets that you store in this bucket on your public website after being selected in Hygraph:

{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::688394999555:user/ao-test-user"
},
"Action": "s3:*",
"Resource": "arn:aws:s3:::aorltestbucket/*"
}

In the example above, Principal is the user you have created earlier, and Resource is the name of your bucket.

This policy allows the user that we'll be using to connect the Hygraph app to manage assets.

#Resources