A development toolkit for creating third-party apps within the Nuvemshop platform.
Important
NubeSDK is currently in its beta phase, and new features are still being implemented. Developers interested in using this SDK should contact the Nuvemshop / Tiendanube team before integration to ensure compatibility and receive support.
NubeSDK provides a suite of libraries that enable developers to create secure, declarative, and extensible applications inside the Nuvemshop ecosystem. Apps built with NubeSDK run inside isolated web workers, ensuring a controlled execution environment without direct access to the DOM.
This monorepo contains several key packages that facilitate different aspects of NubeSDK development:
@tiendanube/nube-sdk-types
→ TypeScript definitions for NubeSDK.@tiendanube/nube-sdk-ui
→ Functions for building declarative UI components.@tiendanube/nube-sdk-jsx
→ JSX runtime for writing UI components using JSX/TSX.create-nube-app
→ CLI tool for scaffolding and setting up new Nube applications.
To quickly create a new Nube application, you can use the CLI tool create-nube-app. Simply run the command below, which will scaffold a complete project with all the necessary dependencies:
npm create nube-app
or
yarn create nube-app
import type { NubeApp } from "@tiendanube/nube-sdk-types";
import { Box, Row, Col, Txt, Field } from "@tiendanube/nube-sdk-jsx";
const Component = () => (
<Box>
<Row>
<Col>
<Txt>Hello, NubeSDK!</Txt>
</Col>
</Row>
<Field name="email" label="Email" />
</Box>
);
export const App: NubeApp = (nube) => {
nube.send("ui:slot:set", () => ({
ui: {
slots: {
before_main_content: <Component />
}
}
}));
}
This repository includes example projects to help you get started quickly:
- Minimal app setup:
examples/minimal
- Minimal with UI:
examples/minimal-ui
- Minimal with UI in JSX:
examples/minimal-ui-jsx
These examples include pre-configured build setups, ensuring a seamless development experience.
For more details about NubeSDK and how to build apps, check out our official documentation:
- Questions? Use GitHub Issues.
- Found a bug? Open an issue with a reproducible example.
© Tiendanube / Nuvemshop, 2025. All rights reserved.