# use vtk.js

**URL:** https://discourse.vtk.org/t/use-vtk-js/10221
**Category:** Web
**Created:** [December 16, 2022, 8:02am UTC](https://discourse.vtk.org/t/use-vtk-js/10221 "2022-12-16T08:02:22Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [December 16, 2022, 3:54pm UTC](https://discourse.vtk.org/t/use-vtk-js/10221/4 "2022-12-16T15:54:42Z")

</div>

I mean if it is your code, you should know the URL of your data. And if that is the case, you should provide it to the `setUrl(...)` method.

Like Julien is saying `BASE_PATH` is related to our infrastructure which get replaced automatically at compile time when the example get published.

---

_[View the full topic](https://discourse.vtk.org/t/use-vtk-js/10221)._
