--- title: "Change Backend & Redeploy" chapter: false weight: 61 --- To play together, everyone needs to join the same backend. In this step, we will revise the configuration file ```aws-exports.js``` to change the backend information from your personal account to the workshop account. ## Change the Configuration File 1. Find the **aws-exports.js** file in your project under ``~/environment/lucky-money-ar-workshop/src`` path. 1. Replace the file with the following codes {{< highlight javascript >}} // WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten. const awsmobile = { "aws_project_region": "us-west-2", "aws_cognito_identity_pool_id": "us-west-2:7c87e719-14a0-4f3c-8b00-2915da979b40", "aws_cognito_region": "us-west-2", "aws_user_pools_id": "us-west-2_sKXwAY5gp", "aws_user_pools_web_client_id": "3tgrvronfvsf3i16tui9l0698m", "oauth": {}, "XR": { "scenes": { "LuckyMoneyAR": { "sceneConfig": { "sceneId": "0f7bcc6c369449d6b6f387c6c9ae6735.scene", "region": "us-west-2", "projectName": "Workshops", "url": "https://sumerian.us-west-2.amazonaws.com/20180801/projects/Workshops/release/authTokens?sceneId=0f7bcc6c369449d6b6f387c6c9ae6735.scene" } } } }, "aws_appsync_graphqlEndpoint": "https://vxvk7m4dpvbdveex4ks4jnz3pu.appsync-api.us-west-2.amazonaws.com/graphql", "aws_appsync_region": "us-west-2", "aws_appsync_authenticationType": "AMAZON_COGNITO_USER_POOLS" }; export default awsmobile; {{< /highlight >}} ## Redeploy Run the following command to push your changes to AWS and trigger deployment ```bash cd ~/environment/lucky-money-ar-workshop git add src/aws-exports.js git commit -m "update aws-exports.js" git push ``` Once the deployment finished, you can refresh your browser to load the latest configurations.