You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Home > Sharing > How do I configure a Remix so my users can get started in one click?
How do I configure a Remix so my users can get started in one click?
print icon

Remix URLs have the following format:!/remix/project-name


You can populate the values in a project's .env file on Remix. This can be used to automatically set up a project with a user's API keys already in it.


There are two options:

1: URL

Just add the variable names and corresponding values on the end of your Remix URL, like so:!/remix/project-name?var1=value1&var2=value2..


2: Programmatically

Or POST to<project-name>/remix, sending a JSON body like:


    env: {  
      var1: "value1",  
      var2: "value2"  


It will return:


    domain: project.domain,  
    inviteToken: project.invite_token,  
    joinLink: joinLink  


If you create your Remix using the POST method, keep in mind that the project won't start until someone visits it (either in the project editor, on the project page on, or the app's page).

Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
4 out of 4 found this helpful

scroll to top icon