# \[TBD] Compute to data

{% hint style="warning" %}
**Compute to Data is currently disabled.**&#x20;

Compute is in testing phase with trusted users.&#x20;
{% endhint %}

With Nodes, you can send programs over to the data. This is known as [edge computing](https://en.wikipedia.org/wiki/Edge_computing) and is especially powerful for data-intensive research. Nodes use [Bacalhau](https://docs.bacalhau.org/), an architecture for fast, cost efficient, and secure computation to run jobs where the data is generated and stored. A major advantage is that you don't need to rewrite your code - you can simply send it over to the data into an arbitrary docker container and WebAssembly (wasm) images as task.

### **Getting started with Edge computing**&#x20;

First step is to install Bacalhau:&#x20;

`$ curl -sL https://get.bacalhau.org/install.sh | bash`

Next step is to [head over to their documentation](https://docs.bacalhau.org/getting-started/installation).&#x20;

### **Using Edge computing with Nodes**&#x20;

Navigate to Node drive, and click on the ![](https://3561840309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMYxRLCpbB6u9NiTwuU16%2Fuploads%2Ff0pvKzQFt5DDNY5L9zDA%2Fimage.png?alt=media\&token=2c7a1a7d-faaf-46ec-9375-e86a0bb6dfde) "use" icon. From there, copy the CID of the data object you wish to run your compute job on. You can use this CID in Bacalhau. Follow the [Bacalhau documentation](https://docs.bacalhau.org/getting-started/installation) for edge computing on your data.

\[update video below]

<figure><img src="https://3561840309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMYxRLCpbB6u9NiTwuU16%2Fuploads%2FjOo2oi8DNxZQm6tuiZpB%2FKapture%202023-02-16%20at%2012.49.46.gif?alt=media&#x26;token=fa5c3e92-b1e2-4e56-bfa4-cc07025abd97" alt=""><figcaption><p>Fetching the CID of the Digital Object for Edge Computing</p></figcaption></figure>
