Enable Bots
# support
s
Hello everyone. I am new to the community. I have set up the medplum project locally. I want to enable the bot feature. I follow the documentation regarding enabling vmcontext on local. But still it looks like the bot feature is not enabled. When i try to test the bot, it throws "bots are not enabled" error. Can someone please guide me on this.
r
Have you enabled bots on your project on localhost? And set the bot runtime to VM Context?
a
if you have cloned the repo main branch - the runtime config is by default setup to vmcontext.
s
Yes i have cloned the repo from main branch and set runtimeVersion: 'vmcontext', vmContextBotsEnabled: true everywhere in the project.
@reshma Can you please guide, if i am missing something. I have attached the relevant screenshot. Thankyou
p
Have you enabled inside project feature?
s
I heard about it but,I unable to find the project feature options
@Pravin
p
from super admin
go to edit project
add feature
s
Actually, i just clone the medplum repo and set up the project. Can you please guide about super admin access.
I just register on the app as an admin
p
try default super admin user login
s
where i can find the login credentials for this
@Pravin Can you please guide me
p
The default username is admin@example.com, default password medplum_admin.
then go to projects
and edit its feature
s
Thankyou so much @Pravin for this great help. I missed that doc to see.
@Pravin is it possible to import existing code of bot in the UI?
p
meaning?
s
eg. sample bot code on the github
p
yes
go to bot
edit
s
Got it. Thankyou 😊
I am able to run but getting "No executable code" error.
FIxed it now. Thankyou
r
Thank you so much for supporting @Pravin ! Our local expert!
188 Views