Scripting Guide > Extending JMP > Share Content on JMP Live > Establish a Default Connection to JMP Live
Publication date: 07/15/2025

Establish a Default Connection to JMP Live

Before you can use JSL to publish reports to JMP Live, you must establish a default connection to the JMP Live server from JMP. See “Add a Connection to a JMP Live Server” in Using JMP.

Once you establish a default connection, you can point to it in your JSL scripts:

liveconnection = New JMP Live( Connection( "My JMP Live" ), Prompt( If Needed ) );

where "My JMP Live" is the name of the default connection that you created. If authentication is required, an interactive prompt appears. You can change the Prompt to No, but if authentication is required, the connection fails.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).