# Using rest API in a mobile app in flutter

**URL:** <https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 2, 2021, 3:52pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438 "2021-08-02T15:52:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RENATO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/renato/32/16329_2.png) [@RENATO](https://forum.rasa.com/u/RENATO)\
**Post date:** [August 2, 2021, 3:52pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/1 "2021-08-02T15:52:27Z")

</div>

Hi, we are developing a mobile chatbot app on Flutter. We have installed the latest version of rasa X on an Azure VM Ubuntu 20.04 instance using docker compose. However, we are not sure how to open credentials.yml file, enable rasa REST API, and do tests in Flutter.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 2, 2021, 3:55pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/2 "2021-08-02T15:55:02Z")

</div>

@RENATO Did you said docker, right so you can able to see the container, and inspect the container i.e app file and you will find the credentials.yml file and you can edit using nano command or even copy from container to host. Please share the docker ps and docker file snippet.

---

<div class="post-metadata">

**Author:** ![RENATO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/renato/32/16329_2.png) [@RENATO](https://forum.rasa.com/u/RENATO)\
**Post date:** [August 2, 2021, 8:21pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/3 "2021-08-02T20:21:13Z")

</div>

Hi, I am attaching the docker ps file and I use ls to view the following files:

 ![Captura de Pantalla 2021-08-02 a la(s) 15.19.52](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/c/d/cde2a51f2beaaec9f1adcacc8a0e9253317c3575.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 2, 2021, 8:49pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/4 "2021-08-02T20:49:05Z")

</div>

@RENATO Do you know basic commands of docker and I can see there is files? What is your machine? Window, Linux etc

---

<div class="post-metadata">

**Author:** ![RENATO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/renato/32/16329_2.png) [@RENATO](https://forum.rasa.com/u/RENATO)\
**Post date:** [August 2, 2021, 9:02pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/5 "2021-08-02T21:02:35Z")

</div>

We are an apprentice team and we are working on Linux machines and also we are beginners using Docker.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 2, 2021, 9:04pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/6 "2021-08-02T21:04:29Z")

</div>

@RENATO try nano and file name in terminal i.e

`nano credentials.yml`

Or

Please see this video ref: [https://youtu.be/45KO4KO2DTo](https://youtu.be/45KO4KO2DTo)

do share me the error, I am here and please reply fast. Thanks.

@RENATO please tick on this 🙂 for solution.

---

<div class="post-metadata">

**Author:** ![RENATO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/renato/32/16329_2.png) [@RENATO](https://forum.rasa.com/u/RENATO)\
**Post date:** [August 2, 2021, 9:08pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/7 "2021-08-02T21:08:19Z")

</div>

Thank you very much!

 ![unknown](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/4/b42d8cd683573851161b47c3520e25dfe72a4f53.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 2, 2021, 9:14pm UTC](https://forum.rasa.com/t/using-rest-api-in-a-mobile-app-in-flutter/46438/8 "2021-08-02T21:14:18Z")

</div>

@RENATO Happy to help you. Please close this thread with the solution for others.
