Cosmic JS Blog Stay tuned for feature roll-outs, community news, and updates from the Cosmic JS team.

Extensions Feature Update


Extensions are a powerful component of Cosmic JS that allow you to create custom views in your Bucket Dashboard. We've recently made some updates to make using this feature even better.

New Extension edit view

Extension Edit View
You can now edit your Extension information such as Title, Sidenav icon, as well as add query parameters.

Query Parameters
Extensions are a great way to leverage powerful third party API services in your Cosmic JS Bucket. When you do connect to these services, however, you usually need some sort of API keys to access this content.

Until now, adding these keys to your Bucket was usually done in a makeshift way of adding a new Object Type such as "Analytics" and adding an Object to store your keys. This was an ok temporary solution, but definitely needed to change.

You can now add query parameters directly to your Extension in the Extension edit view which will be added to the Extension iframe query string.

Extension Starter
If you need an easy place to get started building your own Extensions, we now have an Extension Starter available for download. If you would like more information on what you can build with Extensions, check out the documentation page.

I hope you enjoy these updates to Cosmic JS Extensions to help you build amazing custom experiences in your Bucket Dashboard. I'm looking forward to seeing what you build!

If you have any questions, feel free to reach out to us on Twitter and in our Slack community channel.

Photo by Fausto García on Unsplash.

You may also like


After reading a very well done article on TechCrunch "Don't Dismiss Developers", a thought came to mind about our current developer technology ecosystem.  The most successful products don't try to build every bit of functionality in-house.  Instead, great companies find ways to build their technology upon a stack of specially designed services that offload complex tasks.  This is something that I call the "Modular Product Era".

Currently this is happening at the server level with cloud computing, file storage and database offloading to service companies like Amazon and Digital Ocean.  But there is also the application layer that is now being outsourced to different companies to leverage specially crafted and designed products that integrate easily into an application stack.  Much like in a community if you want the best bread, the best meat and the best cheese, you don't go to the supermarket and you obviously don't try to make all of these complex foods yourself, instead you go the local baker, butcher and cheese store.  And these specialized modules are becoming easier to incorporate into existing technology.

Ethan Kurzweil illustrates this, "For example, when you add your credit card to Uber by taking a picture of it, you’re actually using a cool piece of technology developed by card.io (now part of PayPal) to OCR the credit card number and expiration date and then after every ride, Uber makes an API call to Braintree Payments to process your transaction."

In this new Modular Product Era, we will continue to see companies becoming more specialized and providing a more focused service at a lower price point.  This is very exciting because this lowers the barrier to entry even further for growing technology startups.

Cosmic JS is being built with these principals in mind.  We want to build the best product for developers to easily integrate content management into any application.  We will do this through using a technology stack that leverages the Modular Product ecosystem.

In this short tutorial I’m going to show you how to:

1. Upload an image to your Cosmic JS Bucket via the Cosmic JS API.
2. Alter your image using the powerful Imgix processing service (free with every Cosmic JS Bucket)
3. Add the uploaded image as a Metafield to an Object in your Bucket

Object Pagination is now live in your Cosmic JS Bucket.

We know first hand the problem of building websites and apps on a time crunch.  And it's always nice to find something pre-built that you can simply pull "off-the-shelf" and customize to fit your needs.

This is blog number one on the new Cosmic JS blog page.  Hopefully this will help me find the best way to help developers and publishers use this platform easier and more efficiently.

In our latest installment of the Cosmic JS Developer Spotlight Series, we sat down with Matt Cain, a physics major turned Creative Director and Developer.