chat initial setup