# Having trouble running sample web app locally

**URL:** https://discuss.roboflow.com/t/having-trouble-running-sample-web-app-locally/514
**Category:** 🤝  Community Help
**Created:** [May 31, 2022, 4:08pm UTC](https://discuss.roboflow.com/t/having-trouble-running-sample-web-app-locally/514 "2022-05-31T16:08:55Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![HelicoptersofDC](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/helicoptersofdc/32/369_2.png) [@HelicoptersofDC](https://discuss.roboflow.com/u/HelicoptersofDC)
#### Post date: [June 1, 2022, 2:21pm UTC](https://discuss.roboflow.com/t/having-trouble-running-sample-web-app-locally/514/8 "2022-06-01T14:21:32Z")

</div>

working again, it was after I put the codepen JS in there, it reads:

```auto
	var parts = [
		"https://infer.roboflow.com/",
		$('#model').val(),
		"?access_token=" + $('#access_token').val()
	];

```

so not only [detect.roboflow.com](http://detect.roboflow.com) but that ?access\_token must now be ?api\_key

---

_[View the full topic](https://discuss.roboflow.com/t/having-trouble-running-sample-web-app-locally/514)._
