The aim of this article is to get you up and running with the Easy Image service.
Follow the steps below:
- Subscribe to Easy Image on the CKEditor website.
- Generate your access credentials in the CKEditor Ecosystem dashboard.
- Write a script that generates one-time tokens for authorizing end users of your application in CKEditor Cloud Services (using access credentials created earlier).
- Configure CKEditor.
All steps are explained in details below.
# Subscribe to CKEditor Cloud Services
Create an account in CKEditor Cloud Services by signing up to Easy Image. After signing up, you will receive access to the customer dashboard (CKEditor Ecosystem dashboard).
# Log in to the CKEditor Ecosystem dashboard
Log in to the CKEditor Ecosystem dashboard and navigate to Your products > Cloud Services.
From the list of available subscriptions in the dashboard choose the subscription that you want to manage and press the Manage link.
On the next page you will see the subscription parameters overview together with the management area below.
# Create token endpoint
You now need to create a security token endpoint in your application. The role of this endpoint is to securely authorize end users of your application to use CKEditor Cloud Services only if they should have access to the content or action they are requesting.
# Development token endpoint
If you are just starting, you may use the development token endpoint URL which is available out of the box and requires no coding on your side. The URL of the development token endpoint can be obtained easily in two simple steps:
Press the CKEditor configuration button:
Then press the Create dev token URL button:
The development token URL will show up in the modal window:
The development token endpoint is a special endpoint to help you in getting started with CKEditor Cloud Services. It offers unrestricted, full access to the service and will expire 30 days after being used for the first time. You should not use it on production. Anyone knowing this URL will have full access to the associated environment.
# Writing your own token endpoint
Skip this step if you use the development token endpoint.
To write your own security token endpoint, you need to create access credentials for the selected environment by clicking the Create new access credentials link.
For your convenience, one default set of access credentials was automatically created.
Make sure to keep the access credentials in a safe place.
# Configure the application
- Configure the security token endpoint (token URL) of your choice.
- Configure the upload URL
Note: Every customer (organization in the CKEditor Ecosystem dashboard) has their own, unique URLs to communicate with CKEditor Cloud Services, so it is necessary to configure the upload URL. The value of upload URL can be found in the CKEditor Ecosystem dashboard (press the CKEditor configuration button next to the selected environment).
# CKEditor 5 configuration options
# CKEditor 4 configuration options
Note: Apart form setting configuration options, make sure that your CKEditor 4 build has the Easy Image plugin enabled. See the Easy Image Integration guide for more details.