Skip to main content
  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
  • Contact
  • Agency for web development
  • Content Management with Primer
  • Open Source Leadership with Drupal
close
  1. Home
  2. Bynder documentation

Set up Bynder on your website

Follow these steps to set up the Bynder environment on your website.

Prerequisites:

  • Have a Bynder account

Install Bynder with composer: composer require drupal/bynder:^4. When updating from an earlier version, add the argument --update-with-dependencies. After that, enabling Bynder (drush en bynder) will enable all required modules.

Optionally, also add:

  • dropzonejs which is used for the upload of new documents directly from your Drupal website.
  • entity_usage which is required for the optional submodule bynder_usage to track bynder media usage.

On your website, go to Configuration > Web Services > Bynder.

Bynder ConfigMenu

Fill in the required API fields with your Bynder access permanent token and account domain. See this chapter for details on how to get a permanent token. The account domain is the address that you use to connect to your Bynder account. It should read like yourdomain.getbynder.com.

Bynder Tokens

Check that everything is working by clicking on "Test connection".

Bynder ConnectionTest

If the connection test fails, the tokens you provided are not correct. Make sure that your Bynder instance is allowed to connect to the Drupal service. Contact Bynder Support if the problem persists.

Bynder ConnectionTestPass
Bynder ConnectionTestFail

Initial Configuration

Now that Bynder is installed, let's start the configuration of the website.

Let's go
Optional

Drupal set up to enable upload

The default setup allows you to access Bynder assets on your Drupal website, but not to upload new media directly from Drupal onto your Bynder instance. Follow these steps to set this up.

Note: It is always preferred to use your Bynder Portal's upload features instead of uploading assets through Drupal.

On your website, go to Configuration > Web Services > Bynder.

Bynder ConfigMenu

Fill in the Client ID and the Client secret token with information from your Bynder account. Follow these steps to set them up.

Bynder Tokens OAuth

Control that the connection is working by clicking on "Test connection".

Bynder ConnectionTestPass
Optional

Create a permanent token on Bynder.com

This chapter explains how to create a permanent token to link your Drupal website to your Bynder instance.

On your Bynder profile (on yourdomain.getbynder.com), go to Settings > Advanced Settings > Portal settings.

Bynder portal settings menu

Choose "Permanent token", and create a new permanent token.

permanent token menu

Select the user that the system will act as.

permanent token name

Select the options: Assets, Brandstore, Metaproperties, and User/current.user:read.

permanent token options 1
permanent token options 2

You will then be assigned a permanent token. Write it down. You will not be able to access it later.

This is the token that you have to provide step 3 of the first chapter.

Optional

Generate an OAuth token on Bynder.com

This chapter explains how to create a Client ID and a Client secret to link your Drupal website to your Bynder instance.

On your Bynder profile(on yourdomain.getbynder.com), go to Settings > Advanced Settings > Portal settings.

Bynder portal settings menu

Choose "OAuth Apps", and create a new app.

settings oauth token

Select the Grant Type: Authorization code + Refresh token.

oAuth grant type

Set the redirect link. It should read like: https://yourdomain/bynder-oauth.

oAuth token name

Select the options: Assets, Brandstore, Metaproperties, and User (both options).

oauth token options 1
oAuth token options 2

Creating the OAuth App will provide you with both the Client ID and the Client secret. Write them down. You will not be able to access the Client secret key afterwards.

These are the two keys needed to set up your Drupal website on step 2 of this chapter.

Navigation

  • Setup
  • Initial Configuration
  • Display Configuration
  • Edit Bynder asset browser
  • Add a media in content
  • Upload a file
  • Update Metadata
  • SNS Notifications
  • Common issues
  • Transformations with Single File Selection

About Open Source

At MD Systems, we believe in collaborative and open work. That's why we invest a lot in Open Source. We believe that you as a business can also profit from it, but information is hard to obtain. That's why we created this platform, so that you can more easily understand what Open Source can do for you.

MD Systems GmbH

Hermetschloostrasse 77, CH-8048 Zürich

Switzerland

+41 44 500 45 95

primer@md-systems.ch

  • Contact
  • Impress

© Copyright 2021 MD Systems GmbH. All rights reserved. Built with PRIMER - powered by Drupal.