> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create company

> How to create a Contact using the soprotocol

The soprotocol should be on the format: `soprotocol:contact.main[new=true]?contact_id=0`

## How to create contact

Users create new contacts by clicking the **New** button in the GUI. Programs can't click buttons for the user. Instead, they use SoProtocol to tell SuperOffice to act as if the button was clicked:

```html theme={null}
contact.main?contact_id=0
```

NEW mode is just editing a blank contact, so this is equivalent to

```html theme={null}
contact.main[mode=edit]?contact_id=0
```

<Note>
  `contact.main` is not supported in onsite versions 10.0.x-10.2.x.
</Note>

There are 2 direct ways to open a new contact by using the URLs containing SOProtocol:

`http://localhost/SuperOfficeWeb/default.aspx?contact.main[mode=edit&new=true]?contact_id=0`

or

`http://localhost/SuperOfficeWeb/default.aspx?contact.main[mode=edit&new=true]`

Users need to fill required data fields such as company name, department, street address, postal address, and country before clicking the **OK** button to save the data to the database.

![Soprotocol contact.main -screenshot][img2]

The following example shows how we can create a new contact using the URL. `contact_id=0` on the end is used to clear the person archive.

`http://localhost/SuperOfficeWeb/default.aspx?contact.main[mode=edit&new=true]?contact_id=0`

[img2]: /media/loc/en/customization/soprotocol-contact-new.png


## Related topics

- [Create a SuperOffice CRM Company action](/integrations/zapier/howto/actions/create-company.md)
- [Create a SuperOffice CRM changed trigger](/integrations/zapier/howto/triggers/changed.md)
- [Create a SuperOffice CRM new trigger](/integrations/zapier/howto/triggers/new.md)
- [Create a new company](/en/company/learn/create.md)
- [Create and update companies](/en/automation/crmscript/howto/company/create-company.md)
- [Create Default Target Assignment For Company](/en/api/reference/restful/agent/targets_agent/create-default-target-assignment-for-company.md)
