ImageKit is a platform to optimize, transform, store, manage and deliver visuals, so developers ship faster, marketers iterate freely, and your users enjoy flawless visuals everywhere.

ImageKit is a unified Image and Video API combined with an AI-powered Digital Asset Management (DAM) platform. It empowers developers and marketers to deliver flawless visual experiences across the web. Offering automatic media optimization, over 50 real-time transformations, and superfast content delivery via a global CDN, ImageKit.io simplifies how you handle and deliver images and videos. Its integrated DAM further enhances asset management, visual search, and team collaboration. Trusted by over 250,000 developers and 2,000+ businesses globally, ImageKit enables developers to ship faster, marketers to iterate freely, and your users to enjoy flawless visuals everywhere.
Visit the ImageKit documentation for more.
Strapi is the leading open-source headless CMS offering features, like customizable APIs, role-based permissions, multilingual support, etc. It simplifies content management and integrates effortlessly with modern frontend frameworks.
Explore the Strapi documentation for more details.
The out-of-the-box Strapi features allow you to get up and running in no time:
Learn more about Strapi 5 feature.
We are going to start by setting up our Strapi 5 project with the following command:
šļø Note: make sure that you have created a new directory for your project.
You can find the full documentation for Strapi 5 here.
npx create-strapi-app@latest serverYou will be asked to choose if you would like to use Strapi Cloud we will choose to skip for now.
š Welcome to Strapi! Ready to bring your project to life?
Create a free account and get:
30 days of access to the Growth plan, which includes:
⨠Strapi AI: content-type builder, media library and translations
ā
Live Preview
ā
Single Sign-On (SSO) login
ā
Content History
ā
Releases
? Please log in or sign up.
Login/Sign up
⯠SkipAfter that, you will be asked how you would like to set up your project. We will choose the following options:
? Do you want to use the default database (sqlite) ? Yes
? Start with an example structure & data? Yes <-- make sure you say yes
? Start with Typescript? Yes
? Install dependencies with npm? Yes
? Initialize a git repository? YesOnce everything is set up and all the dependencies are installed, you can start your Strapi server with the following command:
cd server
npm run developYou will be greeted with the Admin Create Account screen.

Go ahead and create your first Strapi admin user. All of this is local so you can use whatever you want.
Once you have created your admin user, you will be redirected to the Strapi Dashboard screen.

Since we created our app with the example data, you should be able to navigate to your Article collection and see the data that was created for us.

Now, let's make sure that all of the data is published. If not, you can select all items via the checkbox and then click the Publish button.

Once all your articles are published, we will expose our Strapi API for the Articles Collection. This can be done in Settings -> Users & Permissions plugin -> Roles -> Authenticated -> Article.
Select all the options.

Do the same for Author and Category
We want to create a user (not an admin one) in order to connect to access the API. To to Content Manager -> Collection types -> User. Create one making sure that you give it the Authenticated role.

Nice, now that we have our Strapi 5 server setup, we can start to setup our ImageKit application.
Before you begin, you need an ImageKit account. It's completely free and you can sign up for a new account here.
To install the ImageKit plugin in your Strapi instance, run one of the following commands from your project's root directory:
# Using NPM
npm install strapi-plugin-imagekit --save
# Using Yarn (recommended)
yarn add strapi-plugin-imagekitOnce installed, you must rebuild your Strapi instance:
# Using NPM
npm run build
npm run develop
# Using Yarn
yarn build
yarn develop
# OR development mode with auto-reload for admin panel
yarn develop --watch-adminThe ImageKit plugin will appear in the sidebar and Settings section after the app rebuilds.


You can configure the ImageKit plugin from within the Strapi admin dashboard. Follow these steps:

You'll see three configuration sections that you should complete in order:
This section contains the essential credentials to connect with your ImageKit account:
public_) from the API Keys section of your ImageKit dashboard.private_) from the same dashboard page. Note: Keep your private key confidential as it grants full access to your ImageKit account.https://ik.imagekit.io/your_imagekit_id) from the same dashboard page.
After adding your credentials, set up how your media will be served:
Decide how uploads should work:
/strapi-uploads/)strapi,media)Click the Save button in the top-right corner to apply your settings.
Note: Some changes may require restarting your Strapi server to take full effect.
You can find out more about the plugin and advanced configuration options in the Github repo.
If you have any questions about Strapi 5 or just would like to stop by and say hi, you can join us at Strapi's Discord Open Office Hours Monday through Friday at 12:30 pm - 1:30 pm CST: Strapi Discord Open Office Hours
For more details, visit the Strapi documentation and ImageKit documentation.