<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def start_sequence():
 """Start the demo sequence We must start this thread in the same process as the webserver to be certain we are sharing the api instance in memory. (ideally in future the async id database will be capable of being more than just a dictionary) """

    print('getting started!...')
    t = threading.Thread(target=my_application, kwargs=dict(api=api))
    t.daemon = True
    t.start()
    return 'ok, starting webhook to: %s' % (ngrok_url,)