# Using Cloud Base from Within Mini Program Plug-in

From base library 2.4.1 and later, you may access Cloud Base from within the Mini Program plug-in. When doing so, the plug-in party’s cloud resources are used instead of the host’s cloud resources, and they are used in the same way as with the Mini Program.

If you need to ensure compatibility for Cloud Base to be used in plug-ins with a base library lower than 2.4.1, specify cloud: true in plugin.json. Note that this will increase the size of the plug-in code package by approximately 70 KB, so the size of the Mini Program will also increase as the size of the code package for the plug-in used increases.

点击咨询小助手