---
# System prepended metadata

title: 'Todo:'

---

# Todo:

## Back-end
* Chatbot routing
    * Clone a chatbot (ugly)
        * Get route (get KB by its ID, returns )
        * Post route (create KB that needs name and qna list, get qna list using get route above)
        * Make sure the routing makes sense
    * Edit a chatbot (ugly)
        * Get route (get KB by its ID)
        * Change KB list
            * patch to that ID with the update Q/A list
    * One legit template in the backend and one or two bullshit templates
    * A way to fetch all templates
    * Upload a file for chatbot (stretch goal for tonight)


## Front-end
* Admin
    * Space for your chatbots
    * Plus button to create chatbots
    * Page for template
        * List of templates displayed
        * Can select a template
        * Clone button for cloning selected template

## Spike

## Other
* Cloning functionality: Looking to clone an existing bot 
    * How to use template bot information to integrate it into 
        * From scratch vs copied from bot 
    * Management of cloned bots in Azure
    * Which Azure/other API can we use?
    * 1: use a framework to deploy the bot
    * 2: scrape the directline from the bot
    * 3: store in backend

Option 2:
We have auth, we can make rest, and ARM powershell calls

completely blank template
create new resource group using REST
copy in template with powershell
change QNA endpoint using sean's questions
update resources using powershell
* figure out powershell!
* figure out if rest can be used to copy a tempalte
* we can update resources using REST API
* can we fully make this REST?