# Ember CLI app inside a non-ember app

**URL:** <https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277>\
**Category:** Ember CLI\
**Created:** [February 22, 2018, 8:55am UTC](https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277 "2018-02-22T08:55:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yazhini](https://avatars.discourse-cdn.com/v4/letter/y/e19adc/32.png) [@Yazhini](https://discuss.emberjs.com/u/Yazhini)\
**Post date:** [February 22, 2018, 8:55am UTC](https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277/1 "2018-02-22T08:55:44Z")

</div>

Hi,

I’m new to ember and went through the documentation available on the site including the tutorials. My question is that “Is it possible to create and run ember-cli application inside an application that’s already built in a different framework?” If it is possible then how can I do that without afftecting the entire application. Else what would be the ideal way of proceeding?

---

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [February 22, 2018, 10:23am UTC](https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277/2 "2018-02-22T10:23:51Z")

</div>

We once used .htaccess files for an Apache server to manage if you get the old framework or the Ember App. You should use something like [ember-href-to](https://www.npmjs.com/package/ember-href-to) and clasic href links to link to routes on the old framework from the Ember App. The old framework should also use clasic href to link to routes. We talked from the old framework and the Ember App to the same backend database to move data between the two frameworks. It was an internal system without authentication so we did not have to login twice.

What we did is probably not the best way but it did the job. There are many other ways to do this but authentication needs to be solved first.

Perhaps we would now create [Glimmer](https://glimmerjs.com/) components and switch to Ember later. Glimmer also uses `ember-cli`.

---

<div class="post-metadata">

**Author:** ![Yazhini](https://avatars.discourse-cdn.com/v4/letter/y/e19adc/32.png) [@Yazhini](https://discuss.emberjs.com/u/Yazhini)\
**Post date:** [February 22, 2018, 12:15pm UTC](https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277/3 "2018-02-22T12:15:05Z")

</div>

Thanks for the suggestion. Will look in to the links. 🙂

---

<div class="post-metadata">

**Author:** ![Gajapathy](https://avatars.discourse-cdn.com/v4/letter/g/a88e4f/32.png) [@Gajapathy](https://discuss.emberjs.com/u/Gajapathy)\
**Post date:** [February 23, 2018, 4:50am UTC](https://discuss.emberjs.com/t/ember-cli-app-inside-a-non-ember-app/14277/4 "2018-02-23T04:50:36Z")

</div>

Hi

Incase I want to call an ember CLI application that is initially going to render a page that was previously done in jsp, servlets but inside my ember application I will be having APIs to do the servlet functions and just want a way to connect to this ember application from the jsp page what will be the best way to do so?

Thanks.
