Easily restore your project to a previous version with our new Instant One-click Backup Recovery

Hygraph
Docs

Connect your Hygraph project to Scaleflex Filerobot

Scaleflex Filerobot allows you to gain control of your digital assets. This agnostic software - compatible with all applications and operative systems - can help teams to store, process, share, and accelerate images, videos, and static content on web or mobile applications.

#What you can do with the Hygraph-Scaleflex Filerobot integration

With this app you can upload, store, edit, manage, optimize, enrich and automate your media right within your Hygraph UI.

#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 a Scaleflex Filerobot account. If you don't have one yet, you can request a demo here.
  • You must have a Scaleflex Filerobot project Container ID. You can find it in the top right corner of your Filerobot dashboard, by your username.
  • You must have a Scaleflex Filerobot project Security template. You can create it in your Scaleflex Filerobot project by navigating to Settings > Development > Security templates and clicking on + Add template.

#Install the Scaleflex Filerobot app

Click here to install the Scaleflex Filerobot 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 on Install app.
  2. The permissions pop-up will display. Click on Authorize app to continue. You will be redirected to the configuration screen.
  3. Fill in the Container ID field with the ID your copied from your Filerobot dashboard, and the Security template key with the Security template that you copied from your Filerobot Development settings. You can find these keys in your Scaleflex Filerobot project by following the steps we described in our prerequisites section.
  4. Click on Save config settings to finalize the installation process. A pop-up notification in the bottom right corner of the screen will indicate that the changes have been saved.

#Add the Filerobot field to your model

  1. Navigate to the Schema builder.
  2. Select the model that you want to add the Filerobot field to and click on it.
  3. Select the Filerobot asset picker 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 Filerobot field: you can allow multiple values, or you can localize the field, by selecting the checkboxes in the Field options section.
  6. Click on the Add button.

#Use Scaleflex Filerobot in your Hygraph project

  1. Navigate to the Content editor.
  2. Select the view that you configured the Filerobot field for.
  3. Click on the + Add entry button or, alternatively, edit an existing entry by clicking on the pencil icon.
  4. Locate the Filerobot section of the screen and click on Add Scaleflex asset. This opens a new screen where you can select an existing asset or upload a new one.
  5. Select the asset(s) you want, then click on Export. You will have the option to add the assets as is or transform them:
    • As original: This option is available for all assets. Adds them to the content entry as is.
    • Transformation: This option is only available for image assets. It lets you modify the image format, quality, size, and even crop part of it.
  6. After selecting the asset(s) you want and returning to the content entry, your selection will display on the list. Filerobot - Images in content entryFilerobot - Images in content entry You can optionally use the six dots icon to drag and drop the assets to organize them in the order you want.
  7. Finally, click on Save or Save & Publish, as needed.

#Resources