# Loading Data
You can load data into the speckle viewer virtually from any source as long as you provide an appropriate loader suite.
# Speckle Data
The viewer comes with a builtin speckle loader. Here's an example of how to get things going:
const objUrl = "https://speckle.xyz/streams/da9e320dad/objects/31d10c0cea569a1e26809658ed27e281"
const loader = new SpeckleLoader(viewer.getWorldTree(), objUrl);
await viewer.loadObject(loader, true);
1
2
3
2
3
# Other Data Sources
By creating your own loaders you can load data from various input sources. The viewer library only come with a barebones OBJ loader in addition to the speckle loader. Here's a code sandbox: