proxy:start

Starts a local proxy for the SuiteCloud Developer Assistant service.

Syntax

            suitecloud proxy:start [--authid] [--port] 

          

Options

Option

Required / Optional

Description

--authid

Required

References the custom alias you give to a specific account-role combination.

-i or --interactive

Optional

Runs the command in interactive mode.

--port

Required

Specifies the local port for SuiteCloud Developer Assistant service. Valid range: 1024 - 65535.

-h or --help

Optional

Prints the help for this command.

Interactive Example

Here's a command that starts a local proxy for SuiteCloud Developer Assistant using interactive mode:

            suitecloud proxy:start -i 

          

When you run the command, you're prompted to answer the following questions:

            Select a configured authentication ID to run the proxy: prod-bb | DB 9006 OneWorld for John Doe [Developer] 
Enter the local proxy port: 8383 

          

Non-interactive Example

Here's a command that starts a local proxy for SuiteCloud Developer Assistant using non-interactive mode:

            suitecloud proxy:start --authid prod-bb --port 8383 

          

Output Example

When you run the command, it produces an output that is similar to the following:

            Starting proxy for SuiteCloud Developer Assistant service...
SuiteCloud Developer Assistant service is now running on port 8383 and using auth ID prod-bb.

To use it on this machine, configure your third-party tool as follows:
  * API Provider: OpenAI Compatible
  * Base URL: http://127.0.0.1:8383/api/internal/devassist
  * API Key: Paste the API key generated by suitecloud proxy:generatekey
  * Model ID: NetSuite

Press Ctrl+C to stop the proxy. 

          
Note:

The proxy runs locally and remains active so long as the terminal session is open. To stop the proxy manually, press Ctrl+C.

Related Topics

General Notices