How to change snowflake account (target) from dbt core with out re install

The problem I’m having

I am using snowflake trail account , which last for 30 days, now i want to connect to new snowflake account as my 30 days on old accounts crossed, so i need to change my target snowflake account with new snowflake account, how should i modify existing configuration from old snowflake account to new snowflake account

The context of why I’m trying to do this

What I’ve already tried

Some example code or error messages

Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML! 

If you’re using dbt Cloud: https://docs.getdbt.com/docs/cloud/connect-data-platform/about-connections

If you’re using dbt Core: https://docs.getdbt.com/docs/core/connect-data-platform/snowflake-setup

Note: @Owen originally posted this reply in Slack. It might not have transferred perfectly.

This information only gives us how to connect to new snowflake account, But my question is , is there any configuration file if you change the target snowflake account info, we can connect dbt directly to new account ,
I am looking easy option to re establish dbt connection with new snowflake account

As far as I know you should be able to simply update your connection information in your profile to use the new account and it should simply work. Have you encountered a difficulty in doing so?

Note: @Owen originally posted this reply in Slack. It might not have transferred perfectly.

I figured it out, we need to modify the snowflake account info in the profiles.yml in dbt folder, it worked, thank you very much

Hello,
Can you please explain.