connect_create_prompt function

Creates a prompt