> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/circular-protocol-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/circular-protocol-documentation/developer-tools/enterprise-apis/java/cep_account.setnetwork.md).

# CEP\_Account.setNetwork()

### Function Signature

```java
public String setNetwork(String network) throws Exception
```

### Parameters

| Parameter Name | Datatype |
| -------------- | -------- |
| `network`      | String   |

### Example

```java
//...
account.setNetwork("testnet"); // Use testnet, mainnet or devenet
//...
```
