# Developing Locally

You can spin up a **local workspace** for building and testing purposes. Simply run:

```bash
npm run embeddable:login

npm run embeddable:dev
```
**Using data locally**
- Your local workspace uses the same [data connections](https://docs.embeddable.com/data/connect-your-database) as your online workspace. 
- If you store your data models in a [separate repo](https://docs.embeddable.com/data-modeling/getting-setup#2-storing-models-separately) to your components, then the local workspace will use the models from your online workspace.

**Creating dashboards locally**
- Dashboards you create in the dev environment using the [no-code builder](https://docs.embeddable.com/dashboards/introduction) **cannot be published**. However, dashboards created [as code](https://docs.embeddable.com/dashboards/dashboards-as-code), which live inside your repo, can be. 
- Changes made locally **do not sync** automatically to your online workspace - they remain local until [pushed](https://docs.embeddable.com/getting-started/development/pushing-code) to your workspace.

> The local dev environment does not currently work in Safari due to Safari’s unique security restrictions.

---
Source: https://docs.embeddable.com/getting-started/development/local-environment
