> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Use Velo Packages in Code ## Article: Use Velo Packages in Code ## Article Link: https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/packages/velo-packages/use-velo-packages-in-code.md ## Article Content: # Use Velo Packages in Code [Velo Packages](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/packages/velo-packages/about-velo-packages.md) are code libraries written using Velo code. Once installed, you can import and call APIs from Velo packages in your code. Although Velo packages are written using Velo APIs, you can use them alongside the Wix JavaScript SDK. ## Use a package Once you install a package, read the package's README. It explains setup prerequisites, which APIs are exported for use, and how to use the package. To use a package's APIs, import them in your code. Use `@velo` in import paths for Velo packages. Import paths differ depending on whether the API is exported from backend or public files. ## Import backend APIs To import backend APIs, use this syntax: ```javascript import { } from '@velo/-backend'; ``` For example, assuming you installed the `twitter-integration` package, you can call its `tweet()` API as follows: ```javascript import { tweet } from "@velo/twitter-integration-backend"; ``` > **Notes:** > > - If you want to call backend APIs from a `.js` file in page code, wrap the backend API in a [web module](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/web-modules/about-web-modules.md), then import and call the web module from page code. > - Some Velo packages include web modules. You can call web module APIs directly from backend code, public code, or page code. Import them with the syntax for importing backend APIs. ## Import public APIs To import public APIs, use this syntax: ```javascript import { } from '@velo/'; ``` For example, assuming you installed the `wix-data-helpers` package, you can call its `getRandomItem()` API as follows: ```javascript import { getRandomItem } from "@velo/wix-data-helpers"; ``` ## See also - [About Velo packages](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/packages/velo-packages/about-velo-packages.md) - [Manage Velo packages](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/packages/velo-packages/manage-velo-packages.md)